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

DevShed: Enhancing Dynamic Twitter Signature Images with PHP

Mikko Koppanen's Blog: Seam carving

Kae Verens' Blog: Serving files through a script

Sameer Borate's Blog: Encrypting uploaded files in PHP

AnyExample.com: PHP AJAX example: asynchronous file upload


Community Events





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


series introduction laravel refactor opinion unittest experience list interview release developer install podcast language wordpress threedevsandamaybe community code framework testing

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