I need to retrieve remote images via an ID in a private field of a user's profile to use as avatars. I already have a working image retrieval script, but I cannot find a way to properly insert the image names into the database. When I manually set an avatar, I found the image to be named "1.gif" or similar on the filesystem, while the entry in the database referenced the real file name (1188020.jpg). I could NOT find any file named 1188020.jpg on the filesystem. Is there a way to force the database to reference the real filename? I have in admincp set it to store all images on the filesystem and not in database.