The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

WWW::MeGa - A MediaGallery

SYNOPSIS

 my $webapp = WWW::MeGa->new
 (
        PARAMS => { config => /path/to/your/config }
 );
 $webapp->run;

Minimal config:

        root /path/to/your/pictures

DESCRIPTION

WWW::MeGa is a web based media browser. It should be run from mod_perl or FastCGI (see examples/gallery.fcgi) because it uses some runtime caching.

Every file will be delievered by the CGI itself. So you don't have to care about setting up picture/thumb dirs.

FEATURES

  • on-the-fly image resizing (and orientation tag based autorotating)

  • video thumbnails

  • displays text files

  • reads exif tag

  • templating with HTML::Template::Compiled

METHODES

runmodes

the public runmodes, accessable via the rm parameter

image

shows a thumbnail

original

shows the original file

view

shows a album/folder

AUTHOR

Johannes 'fish' Ziemke <my nickname at cpan org>

SEE ALSO

CGI::Application