PHP image manipulation class
I am working on an litle photo album script and while working on it I found that there are a lot of image manipulation script, but non that are very clever or clear.
So I decided to write my own (which I thought was clear enough for me and fitted my purpouses). Here it is, free of use.
The settings in settings.php are the following:
<?php /** * Path settings */ define("document_root", "/Users/paulp/Sites/Photos/"); define("web_root", document_root . "web/"); /** * Image and thumb settings */ define("thumbWidth", 164); define("thumbHeight", 122); define("imageWidth", 1024); define("imageHeight", 768); ?>
Let me know what you think!
Cheers,
//Paul
Attached Files:
class.photos.php.zipThe class file packaged in a zip file