PHP Classes

File: readme

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Tiago André  >  Thumbs Crop  >  readme  >  Download  
File: readme
Role: Documentation
Content type: text/plain
Description: readme
Class: Thumbs Crop
Create thumbnails and crop images in directory
Author: By
Last change:
Date: 3 years ago
Size: 634 bytes


Class file image Download
This php class creates thumbs from a folder to another, and crop the image to a square


$croping= new thumbs_crop('images','images/thumbs'); $croping->crop_all();

Adicional functions: $croping->get_pictures();

return a array with the pictures inside the images folder


It detects if the thumb have a mother-image, if not it detect the thumb, is very usefull to delect thumbs that are not in use.

Make sure you have created the folder images and the thumbs folder.
Make sure you have gd extension in php.ini
make sure you haver permissions