Donations accepted

Hosted on verot.net

class.upload.php version 0.21 released

I am very pleased to announce the release of the version 0.21 of the script class.upload.php. It fixes all the bugs up to date, and brings in a few features. For instance, it is now possible to resize an image, keeping its ratio, in order to have it to fill the specified thumbnail size, by cropping the excedent.

See for yourself, check out the samples!

0.21 changelog
- added image_ratio_crop which resizes within image_x and image_y, keeping ratio, but filling the space by cropping excedent of image
- added mime_check, which default is true, to set checks against allowed MIME list
- if MIME is empty, the class now triggers an error
- color #000000 is OK for image_text_color, and related text transparency bug fixed
- gd_version() now uses gd_info(), or else phpinfo()
- fixed path issue when the destination path has no trailing slash on Windows systems
- removed inline functions to be fully PHP5 compatible

see all