PDA

View Full Version : resize image into 2 thumbnail sizes?


nanny
01-15-2009, 01:52 AM
Hi I have a form that saves the original uploaded into a folder and the thumbnail into a folder but sometimes the uploaded image width is too large for the web page. So I am wondering if it is possible to make 2 thumbnail sizes as I can't seem to save the original as a smaller size. I tried duplicating the code and modifying but it doesn't work. I save it into the database as well. All works except for second thumbnail.
The images uploaded will be quite wide sometimes. Don't want to restrict user for sizing as they wouldn't have a clue how to downsize themselves prior to upload.

Thanks - I feel really silly with this one but really wanting to learn so I can build a small image gallery.