Resize Uploaded Images/Generate Thumbnails

Category: PHP - Image Galleries

This script demonstrates how to use PHP and GD-library functions to generate thumbnails of uploaded images in the fly. The script first saves the uploaded image in a specific location (for backup or archival). It then generates a thumbnail version of the image and finally saves the generated thumbnail image in JPEG format. The script assures that the aspect ratio of original and thumbnail image are always maintained. The script supports GIF, JPEG and PNG file handling and resizing. Date: 10 April, 2011

Homepage: http://911-need-code-help.blogspot.com/2008/10/resize-images-using-phpgd-library.html

Developer: Salman Arshad

License: Freeware

Operating System: Linux, Unix, Windows

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0