I have the same issue, however I'm doing it a bit differently.
Users can upload their images via a form with all the proper information.
When they select the image, I need the script to check the image size (ie: 1024x768) and if it's less than the specified side it rejects the photo.
Also, I want all the proper form information to be stored in the mySQL DB and the image to be stored into a folder located on the server, with a relative link to the proper photoid identifier, and then on top of that, users will be able to check the photo queue for approval by the admin.
Anyone have any ideas on the image size check and the submission part of the script?