News Feed
Sections




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

Icant.co.uk:
How to create thumbnails with PHP and gd
July 14, 2006 @ 06:26:37

One of the best moves that the PHP language developers could have made was to bring the GD library code "into the fold" and integrate it with recent PHP installations. This makes it easy to manipulate images and customize things on the fly. Another thing it allows is the generation of thumbnails for your site, either dynamically or in something like a cron job. Want to know how? Well, read up here.

In this article from Icant.co.uk, they step you through the creation of these smaller, lighter versions of your images with lots of code and explainations. Topics covered include:

  • The logic of batch processing thumbnails
  • The PHP functions to use
  • The main thumbnail generation function

They also include instructions on how to check your installation for GD support and how to load it if it's not already there (module support).

1 comment voice your opinion now!
create thumbnails gd library graphics tutorial create thumbnails gd library graphics tutorial


blog comments powered by Disqus

Similar Posts

ServerGrove Blog: Logging MongoDB queries using Symfony 2 and Doctrine ODM

SitePoint PHP Blog: Creating a Subscription-Based Website with Laravel and Recurly, Part 2

Christian Wenz's Blog: Installing PHP on Windows 7

SitePoint PHP Blog: Bitcoin and PHP with Coinbase’s API – Basic Usage

WebShop.com Blog: PHP Header(), Beyond Redirect


Community Events

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


configure interview community framework introduction api language application library php7 performance series symfony2 voicesoftheelephpant opinion podcast example conference release laravel

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