Catalyst::View::Image::Empty - View to return a 1x1 empty GIF or PNG, for building tracking URLs.
Version 0.06
script/myapp_create.pl view My::Image::Empty Image::Empty
sub tracker :Local { my ( $self, $c ) = @_; $c->detach('View::My::Image::Empty'); }
Catalyst::View::Image::Empty is a view that returns a 1x1 empty GIF or PNG, for building tracking URLs.
GIF is default.
You can switch to PNG by specifying the format in the config.
format
package MyApp::View::Image::Empty; use strict; use warnings; use base 'Catalyst::View::Image::Empty'; __PACKAGE__->config( format => 'png', );
filename is another config option you can change, the default filename you would see if you "Save Page As..." in a browser.
filename
Image::Empty
Rob Brown, <rob at intelcompute.com>
<rob at intelcompute.com>
Please report any bugs or feature requests to bug-catalyst-view-image-empty at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Catalyst-View-Image-Empty. I will be notified, and then you will automatically be notified of progress on your bug as I make changes.
bug-catalyst-view-image-empty at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Catalyst::View::Image::Empty
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Catalyst-View-Image-Empty
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Catalyst-View-Image-Empty
CPAN Ratings
http://cpanratings.perl.org/d/Catalyst-View-Image-Empty
Search CPAN
http://search.cpan.org/dist/Catalyst-View-Image-Empty/
Copyright 2012 Rob Brown.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Catalyst::View::Image::Empty, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::View::Image::Empty
CPAN shell
perl -MCPAN -e shell install Catalyst::View::Image::Empty
For more information on module installation, please visit the detailed CPAN module installation guide.