Apache-Gallery
view release on metacpan or search on metacpan
With this option you can define which EXIF information you would
like to present from the image. The format is: '<MyName =>
KeyInEXIF, MyOtherName => OtherKeyInEXIF'
Examples of keys: ShutterSpeedValue, ApertureValue, SubjectDistance,
and Camera
You can view all the keys from the EXIF header using this
perl-oneliner:
perl "-e" 'use Data::Dumper; use Image::Info qw(image_info); print
Dumper(image_info(shift));' filename.jpg
Default is: 'Picture Taken => DateTimeOriginal, Flash => Flash'
GallerySizes
Defines which widths images can be scaled to. Images cannot be
scaled to other widths than the ones you define with this option.
The default is '640 800 1024 1600'
lib/Apache/Gallery.pm view on Meta::CPAN
use File::stat;
use File::Spec;
use POSIX qw(floor);
use URI::Escape;
use CGI;
use CGI::Cookie;
use Encode;
use HTTP::Date;
use Digest::MD5 qw(md5_base64);
use Data::Dumper;
# Regexp for escaping URI's
my $escape_rule = "^A-Za-z0-9\-_.!~*'()\/";
my $memoized;
sub handler {
my $r = shift or Apache2::RequestUtil->request();
unless (($r->method eq 'HEAD') or ($r->method eq 'GET')) {
lib/Apache/Gallery.pm view on Meta::CPAN
With this option you can define which EXIF information you would like
to present from the image. The format is: '<MyName => KeyInEXIF,
MyOtherName => OtherKeyInEXIF'
Examples of keys: B<ShutterSpeedValue>, B<ApertureValue>, B<SubjectDistance>,
and B<Camera>
You can view all the keys from the EXIF header using this perl-oneliner:
perl C<-e> 'use Data::Dumper; use Image::Info qw(image_info); print Dumper(image_info(shift));' filename.jpg
Default is: 'Picture Taken => DateTimeOriginal, Flash => Flash'
=item B<GallerySizes>
Defines which widths images can be scaled to. Images cannot be
scaled to other widths than the ones you define with this option.
The default is '640 800 1024 1600'
( run in 0.230 second using v1.01-cache-2.11-cpan-4d50c553e7e )