[PHP] Change image file size dynamically
Hi Group, Is there any way to change the image size (Not height and width. I am talking about image file size) dynamically? Our users upload the big files and we want to find a way so once user upload such file, system will automatically generate the small file and store both versions on the server location. Later on this small file will show up as the thumbnail. Once user clicks on thumbnail then system will show the original big file. Thanks Hardik - Hardik K. Doshi Web Application Developer Institute of Design Illinois Institute of Technology 350, North Lasalle Street Chicago, Illinois 60610 312.595.4907 (direct) 312.595.4901 (fax) __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Change image file size dynamically
check out this link it should have the answers your looking for http://ca3.php.net/manual/en/function.imagecreatefromjpeg.php - Original Message - From: Hardik Doshi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 23, 2003 2:14 PM Subject: [PHP] Change image file size dynamically Hi Group, Is there any way to change the image size (Not height and width. I am talking about image file size) dynamically? Our users upload the big files and we want to find a way so once user upload such file, system will automatically generate the small file and store both versions on the server location. Later on this small file will show up as the thumbnail. Once user clicks on thumbnail then system will show the original big file. Thanks Hardik - Hardik K. Doshi Web Application Developer Institute of Design Illinois Institute of Technology 350, North Lasalle Street Chicago, Illinois 60610 312.595.4907 (direct) 312.595.4901 (fax) __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- 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
RE: [PHP] Change image file size dynamically
Of course you have to have GD library installed. -Original Message- From: Chris Sherwood [mailto:[EMAIL PROTECTED] Sent: 23. júní 2003 21:34 To: Hardik Doshi; [EMAIL PROTECTED] Subject: Re: [PHP] Change image file size dynamically check out this link it should have the answers your looking for http://ca3.php.net/manual/en/function.imagecreatefromjpeg.php - Original Message - From: Hardik Doshi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 23, 2003 2:14 PM Subject: [PHP] Change image file size dynamically Hi Group, Is there any way to change the image size (Not height and width. I am talking about image file size) dynamically? Our users upload the big files and we want to find a way so once user upload such file, system will automatically generate the small file and store both versions on the server location. Later on this small file will show up as the thumbnail. Once user clicks on thumbnail then system will show the original big file. Thanks Hardik - Hardik K. Doshi Web Application Developer Institute of Design Illinois Institute of Technology 350, North Lasalle Street Chicago, Illinois 60610 312.595.4907 (direct) 312.595.4901 (fax) __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- 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