Why re-invent the wheel when there are dozens of gallery applications on the
web?

I personally recommend Gallery2 at http://gallery.menalto.com
Although it's in php and not perl.  It uses IM or GD for processing Images
and has quite an extensive list of features.
And you can resize to any dimensions you like.
It integrates into many CMS applications out there like Joomla!, Mambo,
PHPNuke, PostNuke... full list at
http://codex.gallery2.org/Gallery2:Integration:Available_Integrations

But if you want if to integrate directly into you your perl site then
perhaps a custom-built solution is easier.

I found that you loose a lot of time implementing trivial stuff that already
exists out there.

Perhaps Meios-Catalyst is a good place to start?
http://svn.handelframework.com/CPAN/Meios-Catalyst/

cheers,
Etienne

On 7/12/07, Dennis Daupert <[EMAIL PROTECTED]> wrote:

I am writing a Gallery application in perl/Catalyst. These are lots of
interesting choices to make!

If any one on this list has engaged in such a mad enterprise, I'd be
interested in your experience. I am interested in any advice, links to
how-tos, best practices, articles, or tips. I have questions such as:

What precautions should be taken for security?
What is a good file upload size limit, if any?
What subset of (all possible) file formats should be supported?
What gotchas might there be?

And I have a few "software architecture" questions.

I have a central gallery where images would be uploaded to. From there,
images of varying sizes could be linked to articles, stories, eCards,
thumbnail lists, etc. Because different sizes of the same image might be
needed for different uses, I thought I'd generate a whole set of image sizes
for each uploaded image.

So, I'd have subdirectories for
_orig original,
_t thumbnails,
_sm small,
_med medium, and
_lrg large file sizes.

Does this approach seem reasonable?

If the initial image file is REALLY large (such as a RAW formatted digital
image), should I convert that file to a smaller size (say, 1024x768) and
save as the "original?"

Should I convert the original image to a png to reduce lossiness of
subsequent transformations, even tho that may inflate the initial file size?

/dennis


_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to