Don't ask to ask, just ask | |
PerlMonks |
Re: image captions in a galleryby barrd (Canon) |
on Oct 20, 2003 at 14:00 UTC ( [id://300589]=note: print w/replies, xml ) | Need Help?? |
Hi bakunin, As davido points out above this is more a HTML question than perl but I'll bite anyway and try and help. You'll be wanting something not entirely unlike below yes?
Well to code a table like that you need HTML something like:
Obviously you can change the content of the tags to meet your requirements. Achieving this in perl is as always a TMTOWTDI scenario, but you probably want to be looking at CGI.pm. A quick heads up though, read the dox carefully as the tr tag using this system will give you results you didn't expect otherwise (hint: Tr). How you incorporate a loop to go through images placing them in table cells then matching the caption text is another topic you'll need to think about but hopefully the above will get you started down the road to success. Good luck and happy coding.
In Section
Seekers of Perl Wisdom
|
|