ok I uploaded an image and it gave me the url to the uploaded image. All you need to do is save the image name which you generate, then put that in an images table. A structure such as
imageID
userID
image_path
date_uploaded
size
etc. etc.
Then when the user logs in, just so a query to say
SELECT * FROM images WHERE userID = $userID
(where $userID is the user who is logged in)
then loop through the results displaying the image
PHP Code:
while ($row = mysql_fetch_array($result)) {
echo "<img src='".$row['image_path']."' />";
}
something like that would work ok?