News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

AnyExamples.com:
PHP multiple photo thumbnail generator
March 30, 2007 @ 09:03:00

The AnyExamples site has a new tutorial posted that looks the creation of a "multiple photo thumnail generator".

Built-in PHP library gd does not have ready-to-use function for photo(jpeg) thumbnail generation. Although there are many such examples on the net, they are usually not suitable for effective generating series of thumbnails (240x240, 140x140, 80x80). This article provides php function thumbnail_generator and trivial image uploading script, which generates series of thumbnails.

They start with the creation of two functions, one to calculate the new thumbnail's size and the other to work to create it. They explain it briefly then move on to a useful application - a file upload that automatically creates a thumbnail for an uploaded image.

0 comments voice your opinion now!
thumbnail generator multiple upload file image thumbnail generator multiple upload file image


blog comments powered by Disqus

Similar Posts

Rob Allen's Blog: File uploads with Zend_Form_Element_File

Rob Allen: Throw an exception when simplexml_load_string fails

Zend Developer Zone: Consuming WebThumb's API in PHP

Ryan Malesevich's Blog: More Thoughts on Wordpress 2.1

Bill Staples' Blog: IIS7 Patch for Windows Vista fixes CGI/PHP apps - multiple response headers


Community Events

Don't see your event here?
Let us know!


example version community api development series interview library language podcast unittest voicesoftheelephpant php7 release opinion video framework laravel introduction laravel5

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework