I'd say it is fairly tricky what you are doing here, storing a relative path in a database; As you are noticing: You do not have certainty about the relative path. I would store the filename as just the filename, and have a olum which tells you which folder it is in (If there could be several folders with images) and then just use a constant that points to the correct folder for display from individual scripts.
That being said:
echo "<img src=\"uploaded/pic/10/".basename($row['image'])."\" />";
should work