I'd definitely generate them on the fly for him. I personally use the *NIX program "convert" which comes with imagemagick. It works great and is easy to use.
General Steps: 1.) Copy big image to location 2.) Use convert to make a thumbnail and name it 't_'.$image_name 3.) Put image name in a db someplace 4.) Just prefix $image_name with 't_' to get the thumbnail I'm sure there are ways to do this within GD, but I've found Convert to be more flexible. I have a class you can download at: http://www.joestump.net/files/software/convert/ --Joe -- Joe Stump <[EMAIL PROTECTED]> http://www.joestump.net "Label makers are proof God wants Sys Admins to be happy." -----Original Message----- From: Edward Peloke [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 7:54 AM To: [EMAIL PROTECTED] Php. Net Subject: [PHP] thumbnails Ok, I know thumbnails have been discussed and I have looked at the archives, I am just looking for opinions. I am doing a small website for a used vehicle dealer. I need to make it as easy as possible for him to add new vehicles. I plan to just give him a form for the information, and a place to upload a picture. The main page will have the thumbnails of all the vehicles and as you click on each one, you will see the normal sized photo. Should I: 1. Allow him to upload one picture and then somehow generate a thumbnail from that? If so, should I generate the thumbnail when the picture is uploaded and keep the original picture and the thumbnail on the server or generate the thumbnail on the fly when the page is loaded...and only store the original picture? 2. Should I have him generate thumbnails and upload both pictures to the server? Thanks, Eddie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php