Rudesind
view release on metacpan or search on metacpan
lib/Rudesind.pm view on Meta::CPAN
package Rudesind;
use strict;
use Apache::Request;
use File::Slurp ();
use File::Spec;
use Image::Magick ();
use Path::Class ();
use Rudesind::Config;
use Rudesind::Gallery;
use Rudesind::Image;
use Rudesind::UI;
$Rudesind::VERSION = 0.04;
1;
__END__
=pod
=head1 NAME
Rudesind - A Mason-based image gallery
=head1 SYNOPSIS
PerlModule Rudesind::Handler
<Location /Rudesind>
SetHandler perl-script
PerlHandler Rudesind::Handler
</Location>
<Location /images>
SetHandler default-handler
</Location>
<Location /image-cache>
SetHandler default-handler
</Location>
=head1 DESCRIPTION
Rudesind is a Mason-based image gallery program. It provides image
and gallery captioning, and on-the-fly thumbnails and image
manipulation. Generated images are cached and subsequently served
without using Mason, in order to improve the speed of the application.
=head1 CONFIGURATION
Rudesind is configured in two files. First in its own
F<Rudesind.conf> config file. When Rudesind is installed, it will
write a boilerplate config to a location of your choosing. The
boilerplate config file contains a detailed description of all of the
possible configuration parameters.
Of these, the most important are the "root_dir", "uri_root",
"raw_image_subdir" and "image_uri_root" parameters.
For the following examples, we will assume that we have a document
root of F</var/www>, and the following Rudesind configuration:
=over 4
( run in 0.577 second using v1.01-cache-2.11-cpan-13bb782fe5a )