Page 1 of 1
How can we create Thumbnail image by PHP?
Posted: Wed Jul 23, 2008 5:40 pm
by Mds
Hi there.
How can we create Thumbnail image by PHP?
Can you help me ?
Re: How can we create Thumbnail image by PHP?
Posted: Wed Jul 23, 2008 5:47 pm
by manixrock
You can use
http://php.net/imagecreatefromjpeg (or what other php supported format you need) to open the original image as an object, create the thumbnail image object using
http://php.net/imagecreatetruecolor, resize/copy it from the original to the thumbnail one with
http://php.net/imagecopyresampled, the save it with
http://php.net/imagejpeg.
Re: How can we create Thumbnail image by PHP?
Posted: Thu Jul 24, 2008 5:18 am
by Mds
Greatest answer.
Thank you my friend.
Re: How can we create Thumbnail image by PHP?
Posted: Thu Jul 24, 2008 9:59 am
by pickle