Recommend this page to a friend! |
Download .zip |
Info | View files (2) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2012-07-25 (4 years ago) | Not yet rated by the users | Total: 253 | All time: 7,372 This week: 1,109 |
Version | License | PHP version | Categories | |||
thumbs-crop 0.1 | GNU General Publi... | 5.0 | PHP 5, Graphics |
Description | Author | |||||||||||||
This class can create thumbnails and crop images in directory. |
|
This php class creates thumbs from a folder to another, and crop the image to a square Usage: import('thumbs.class.php'); $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 $croping->del_pictures(); 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. WARNINGS: 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 |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.