Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: Re: Re: image captions in a gallery

by barrd (Abbot)
on Oct 20, 2003 at 16:24 UTC ( #300635=note: print w/replies, xml ) Need Help??

in reply to Re: Re: image captions in a gallery
in thread image captions in a gallery

Hi again bakunin,
Thank you for your nice reply barrd. I had already done what you have suggested.
No problem, and thank you too.

Heres another tip, if you haven't seen, used or tried HTML::Template I'd really recommend you do so. Since using it my life has improved about 1000%, and I mean that seriously. Theres a plethora of other modules that interact with it and you can do some really funky things. Basically it allows you to extract the HTML from your Perl code leaving both to do what they do best without lots of ugly code in your scripts. Have a look, you won't regret it.

  • Comment on Re: Re: Re: image captions in a gallery

Replies are listed 'Best First'.
Re: Re: Re: Re: image captions in a gallery
by bradcathey (Prior) on Oct 20, 2003 at 18:01 UTC
    Agreed. Can't recommend HTML::Template enough. Recently created a image album system that allows the user to upload images after creating an "album", with description, to put them in. They can select size and optimization level, and enter a caption. Everything is stored in a MySQL db and GD handles the thumbnails and sizing (though not happy with the quality of the optimization, even in a 2.+ version).

    H::T allows me to just plug the image path and caption for each image, keeping the HTML entirely separate from the Perl/CGI. So, you can design your HTML document the way you want it to look, per barrd's suggestion, and then drop in the H::T "placeholders" for the images and captions.

    Sample site

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://300635]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2018-05-20 14:46 GMT
Find Nodes?
    Voting Booth?