My next version I will see if I can literally generate thumnails rather than just resizing to 100x100. The script was rather difficult for me the way it was so I figured I'd take the cheap way out and wait til my nerves calm down before I try using another Image module to create thumnails (most likely Image::Magick).
I wasn't aware that there were restrictions on JPEG files, I was under the impression that all bmp, gif, and jpeg files would work properly. I've uploaded lots of images of those types and never had a problem, do you have an example or something I can use to figure out what you mean?
I like javascript and in this case, I'll sacrifice not everyone being able to view the script. I very much dislike the idea of opening an image in a new IE or NET window that's overcluttered with all the file menus and such and have that window a million times larger than it has to be. If there was another method to open windows without extra menus and to the size of the image itself, I'm very open to ideas. But for those who are terribly conerned for thier anti-javascript users, you can easily edit my script and remove all javascript codes and just make the image link open in a new window (target="new").
"Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us"
image/pjpeg is the mime type of progressive encoded JPEGs. If you try to upload a JPEG that is saved using the standard encoding, it will give this error message "Wrong! This is not a supported file type."
Save this image to your hard drive and try to upload it using your script.
I saved and tried to upload that image and got "File was uploaded to http://sulfericacid.perlmonk.org/gallery/images/boo.jpe". I verified the link and it worked properly.
"Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us"