I have a site where registered users upload photos to a photos section. The file name is $filename, say.
The section is then updated with a thumbnail of the new photo...
If so, how exactly should i use it to create a thumbnail image (of 50 width) to be saved in the same directory as $filename???