class.upload.php news

Development version 0.30 available for testing

I am preparing the version 0.30. I have already added a few features and fixed some bugs:

- large watermarks are now automatically down-sized, or even up-sized to fit in the main image.
- finfo is dealt with in a better way.
- PNG transparent watermarks on transpsrent PNG images is fixed

You can download version (0.30dev) here. Send feedback in!

class.upload.php version 0.29 released

0.29 I am pleased to announce the release of the version 0.29 of the script class.upload.php. The class is now compatible with PHP 5.3. MIME detection is stronger, and more documented. Malicious images cannot be uploaded.  read more...

Plans for version 0.30

I will implement some of the following functionalities in the next version of the class:

  • support for UTF-8 text and TTF fonts
  • resize an image as the percentage of the original dimensions
  • drop shadows
  • replace a color with transparency
  • add an opacity setting to create semi-transparent images

And maybe:

  • rotate pictures in any angle
  • support for IPTC and EXIF data
  • round corners
  • image overlay to create borders and corners
  • correction of color levels
  • alpha masks
  • unsharp mask

If you want other features, please contact me. If you like to see development on the class happening faster, don't hesitate to donate!

class.upload.php version 0.28 released

0.28 I am pleased to announce the release of the version 0.28 of the script class.upload.php. The class is now compatible with PHP 5.3. MIME detection is stronger, and more documented. Safe mode handling has been improved.  read more...

Release of 0.28RC4

I have released a test version 0.28RC4, with support for PHP 5.3, and improved MIME type detection amongst other things. You can get it here

Release of 0.28RC3

I have released a test version 0.28RC3, with improved MIME type detection. You can get it here

Ratings on PHP Classes

The class is ranking second best rated in this month's PHP classes charts. Thanks!

class.upload.php version 0.27 released

0.26 I am pleased to announce the release of the version 0.27 of the script class.upload.php. MIME detection is stronger, transparency replacement for true color images has been improved, and you can now crop a picture before resizing it. Many translation files were added.
 read more...

class.upload.php version 0.26 released

0.26 I am pleased to announce the release of the version 0.26 of the script class.upload.php. It is a major update, with a substantial rewrite of the MIME detection code, support for Flash uploaders, and some new features and improvements.  read more...

Release of 0.26RC2

I have released a test version 0.26RC2, which is more secure, and should work with Flash uploaders.

You can get it here.

This version fixes a few bugs, but most notable rewrites the entire MIME type detection. The class is now using Fileinfo PECL extension, UNIX file() command, MIME magic, and getimagesize(), in that order, to detect the MIME type. The MIME type as sent by the browser (or guessed from the file extension in case of Flash) will be used only if all the previous methods fail.

Please use it and test it. Some of the MIME detection routines depend on the OS, so I couldn't test everything. If you use a Flash uploader, can you also give a go to 0.26RC2

|< << 1 2 3 4 5 >> >|