OK, here you have lots of options using PHP gd extensions just to start (or not). Just specifying width and height in your html IMG statement will result in the image being resized by the browser, however, the entire image file must be transferred to the browser.
http://www.php.net/manual/en/ref.image.php As before, downsizing tends to work much better that upsizing (no pun's intended). http://www.php.net/manual/en/function.imagecopyresized.php Hope this helps, Warren Vail -----Original Message----- From: Ryan Schefke [mailto:[EMAIL PROTECTED] Sent: Monday, April 19, 2004 8:59 PM To: 'Warren Vail'; 'Php-General-Help' Subject: RE: [PHP] FW: Resizing Pictures Hi Warren, Thanks for the reply; however, that wasn't the answer I was searching for. Using PHP, I would like to resize a file once it's store in a directory on a (my) webserver. Anyone know? -----Original Message----- From: Warren Vail [mailto:[EMAIL PROTECTED] Sent: Monday, April 19, 2004 11:56 PM To: Ryan Schefke; Php-General-Help Subject: RE: [PHP] FW: Resizing Pictures If you don't mind doing them by hand, Window Paint can, use Image->Stretch/Skew and Stretch by the same percentage for horizontal Image->and vertical dimensions to keep the same perspective (less than 100% will reduce the picture and more than 100% will stretch, but clarity of the image will suffer from enlarging the image). I would also suggest save a .bmp in the original size for future resizing and adjusting, and save as jpg for transferring to your website (your visitors will appreciate the smaller jpg format). good luck Warren Vail [EMAIL PROTECTED] -----Original Message----- From: Ryan Schefke [mailto:[EMAIL PROTECTED] Sent: Monday, April 19, 2004 8:06 PM To: Php-General-Help Cc: 'Ryan Schefke' Subject: [PHP] FW: Resizing Pictures How do you resize pictures once they're in a certain directory? I have the script to upload a picture, that's working fine. I just need some help with resizing it. Can someone help? Thanks! -- 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php