File: |
classImg.php |
Role: |
Class source |
Content type: |
text/plain |
Description: |
The main file |
Class: |
classImg
A simple class to manage images |
Author: |
By Daniel Andres Marjos |
Last change: |
Added method getScaledImageSize ($id, $max_width, $max_height) : Just like getImageSize, but in the returning array, the width and height are scaled to meet the maximum values as specified.
Added method: addDirectory($path) : Scans a directory gathering the files names, and adding them to the database
Modified: Method addImage: Now, it only will add the image to database if the image is GIF, JPG or PNG. If the image was succesfully added, the add_image_id property will return the id of the image in the database, otherwise it will return false. |
Date: |
21 years ago |
Size: |
3,032 bytes |
|
|
|