Changes for version 2.0 - 2005-12-17
- ENHANCEMENTS
- Previously the extension and MIME type were inherited by generated files. Now the metadata for generated files is extracted directly from them. This should be useful if you want to create thumbnails in a different image format than the large images.
- A cleaner and simpler API for calling gen_thumb() and other potential transform_methods has been introduced. The new syntax looks like this:
- transform_method => gen_thumb({ w => 100, h => 100 }),
- The old syntax is still supported.
- "gen_thumb()" can now return the Image/Graphics::Magick object as a second argument. This may not be useful outside of the test suite...
- BUG FIXES
- Image::Magick is no longer required to install CGI::Uploader, just recommended.
- If an uploaded was updated and had its MIME type changed in the process, the old file was left on the file system. Fixed.
- If 'up_table_map' was used to modify the name of the extension field, then transform_meta() would return empty values for the extensions. Fixed.
- INTERNALS
- Migrated Makefile.PL to use Module::Install. This allows me to keep the hairy Makefile.PL stuff I have, but easily add 'no_index' and 'recommends' metadata.
- test suite clean up.
- new required modules: Scalar::Util and HTTP::Request::Common
Documentation
Examples of CGI::Uploader usage
Modules
Manage CGI uploads using SQL database
Provides
in lib/CGI/Uploader/Transform/ImageMagick.pm