Soecial thumbnail creation with GD

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I was using imagemagick to create thumbnails for my gallery. Now, it
seems my provider has disabled access to imagemagick for security
reasons on SI. So, I have to use GD now. The process I used to create
thumbnails was:

1. resample a JPEG file to 100x100 (mantaining aspect ratio)
2. crop a square of 30x30 from the center of this resampled image
3. save the cropped image to a PNG file

Can I do this with GD ? Any help would be appreaciated.

Thanks in advance

Re: Soecial thumbnail creation with GD

Quoted text here. Click to load it


If you have a look at the php site then there are loads of good examples
in the contributions at the bottom of the page.  Do a search on:


I've got a piece of code that does at least the 1st part of what you
want if you need something to get started.  Having only just got into
this, I found it hard going!

Site Timeline