CGI-Uploader

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN


2.16 Thu Apr  2 11:36:40 EDT 2009

    [BUG FIXES]
    - Using 'transform_method' to tranform an upload in place was broken.
    - Now use File::Spec instead of hardcoding "/" as a path separator. (Ron Savage) 
    - Use binmode() on the right file handle (Ron Savage)
    - upload_id was hardcoded in one place instead of using up_table_map (Ron Savage)

    [DOCUMENTATION]
    - Quit recommending SQL::Abstract in the Cookbook (but we use it internally)

    [INTERNAL]
    - Mark "Image::Size" as a requirement, if only to get tests to stop failing.
      It's only really required if  you use the Image::Magick transformations. 


2.15 Sun Jul 15 07:21:24 EDT 2007
    - no functionality changes

    [INTERNAL]

Changes  view on Meta::CPAN

    Mark Stosberg
    mark@summersault.com

0.76.02
	[ENHANCEMENTS]
	- Added image gallery recipe to cookbook
	- Added README to examples/friends_photos

0.76_01 Sun Apr 25, 2004
     [BUG FIXES]
     - Fixed syntax errors in Cookbook SQL example
     - Fixed bug where default query object wasn't loading correctly
     - Fixed documtention of fk_meta() to match current interface.
     - Fixed bug in t/up_table_map.t test
     
     [ENHANCEMENTS]
     - Added example application to distribution

0.75_02
    - Refactored delete_upload() to be simpler and more intuitive.

0.75_01
     Added support for specifying fields to process via regular expressions. 
    - Improved Cookbook documentation. 

0.70_02 Wed Apr 21, 2004
    - Removed custom_meta(). This problem space is now addressed by 
      allowing meta data to be passed to store_uploads(). Also, you could
      override extract_meta() to add more functionality there.
    - Added support for storing files based on a MD5 sum of the files 
      ID. This allows the file storage to scale well for millions of uploads.
      See the docs for 'file_scheme' for detaills. (Thanks to Randal Schwartz
      for the suggestion). 
    - Added option to specify only a max width or max height for thumbnails.
    - Refactored several interfaces to use named parameters. 
    - Added 'downsize' option to spec, allowing downsizing of primary images.

0.70_01
    - Added to binmode() calls to file handles, to possibly help Windows.
	- Added support for uploading via CGI::Simple
	- Added experimental support for uploading via Apache::Request
	- Added Cookbook documentation
	- Added 'thumbnail_of_id' column to meta data table.
    - Added delete_thumbs() method
    - Started to do real 'updates' rather than delete/re-inserts
	- Cleaned up prequisites in Makefile.PL
	- Fixed bug and added test for proper thumbnail resizing
    - More API refactors

0.63_01
    - Removed some un-needed mentions of Data::FormValidator from tests
    - added test to verify thumbnail size

MANIFEST  view on Meta::CPAN

Changes
MANIFEST
Makefile.PL
create_uploader_table.Pg.sql
create_uploader_table.mysql.sql
create_uploader_table.SQLite.sql
lib/CGI/Uploader.pm
lib/CGI/Uploader/Cookbook.pod
lib/CGI/Uploader/Transform/ImageMagick.pm
t/lib/CGI/Uploader/Test.pm
t/200x200.gif
t/20x16.png
t/basic.t
t/build_loc.t
t/cgi-simple.t
t/cgi-uploader.config
t/create_test_table.sql
t/gen_thumb.t

lib/CGI/Uploader.pm  view on Meta::CPAN

 # ... now do something with $u

=head1 Description

This module is designed to help with the task of managing files uploaded
through a CGI application. The files are stored on the file system, and
the file attributes stored in a SQL database.

=head1 Introduction and Recipes

The L<CGI::Uploader::Cookbook|CGI::Uploader::Cookbook> provides
a slightly more in depth introduction and recipes for a basic BREAD web
application.  (Browse, Read, Edit, Add, Delete).

=head1 Constructor

=head2 new()

 my $u = CGI::Uploader->new(
    spec       => {
         # The first image has 2 different sized thumbnails

lib/CGI/Uploader/Cookbook.pod  view on Meta::CPAN


=head1 NAME

CGI::Uploader::Cookbook - Examples of CGI::Uploader usage


=head1 Description

C<CGI::Uploader::Cookbook> is a tutorial that accompanies the B<CGI::Uploader> 
distribution. It shows example syntax for common uses.

C<CGI::Uploader> module is designed to help with the task of managing files
uploaded through a CGI application. The files are stored on the file system,
and the file attributes stored in a SQL database. 

=head1 Introduction to CGI::Uploader

=head2 A Little History



( run in 0.677 second using v1.01-cache-2.11-cpan-e9199f4ba4c )