PHP Classes

File: classImg.php

Recommend this page to a friend!
  Classes of Daniel Andres Marjos   classImg   classImg.php  
File: classImg.php
Role: Class source
Content type: text/plain
Description: The main file
Class: classImg
A simple class to manage images
Author: By
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

You need to be a registered user and login to get this file.

1,616,371 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on: