PHP Script Codes > PHP Thumb Maker v2
Purpose of Script:
Thumb Maker is PHP based script that can be included to your existing PHP scripts, as an extension for creating thumbs from images such as JPG, GIF, PNG, XMB, XPM etc.
Features:
Simple and advanced thumb making
Custom Boundary Box
Auto maintain aspect ratio
Custom Quality of final JPEG thumb
Error checking in code (on failure)
Custom background color for making thumb from transparent images (e.g. GIF, PNG)
Requirement:
PHP 4.x.x or higher
GD Library version 2 Extension for PHP
Write permissions for folder the thumb is being created in
How to use?
Simply include 'thumb_maker_v2.php' in your php script and call function make_thumb.
Please check examples included in the zip file for more help. 5 example files are included in the pack.