View on
MetaCPAN is shutting down
For details read Perl NOC. After June 25th this page will redirect to
Johannes Ziemke > WWW-MeGa >


Annotate this POD


New  1
Open  0
View/Report Bugs

NAME ^ - generates urls to each image in each size

SYNOPSIS ^ url [ /path/to/image-root | /path/to/config ]

DESCRIPTION ^ takes a url and optional a path to the image-root or the config. Without that path it will expect the images in the default location (see WWW::MeGa) which is most likely not what you want.

Now it searches for files in the root dir and outputs the matching url to each file in each size (atm the sizes are: 0, 1 and 2, see WWW::MeGa for more futher info about the thumbnail sizes).

The idea behind that is simple: The thumbnails of WWW::MeGa are getting generated on the fly, but you might force the (re)generation of the thumbnails (for not letting your visitors wait when the thumbnail is getting created the first time or if you have changed some images)


You can pipe to output to a tool like wget for creating read the thumbnail: /webjail/bilder/sophie/ | xargs -d'\n' wget -O /dev/null


syntax highlighting: