just add something like this
move_uploaded_file($tmp_name, '/upload/images/photos/' . $name);
echo '<img src="uploads/'.$name.'"/>';
on the file_exists declaration, just update the location..
The script above shows the image uploaded... you can change it to your #2 request.
I will look into this again tomorrow, maybe we can improve your script a little...