Displaying/removing Image Captions

getgoosed

Joined: 2004-10-24
Posts: 19
Posted: Fri, 2005-02-11 20:35

Is there a way to flag wether or not to display the image captions? For example, when clicking in the album, I would like to just see the images and no titles, date, size, etc. But in some albums it would be nice to have them. So a check box would be rather nice. I know you can just go through every picture and remove the title, but for thousands of pics it is not gonna happen.

thanx

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Fri, 2005-02-11 21:41

you can make your own layout that doesn't show captions..
copy the entire layouts/matrix directory to a new directory under layouts.. fix the id in layout.inc to match your new dir name. then edit templates/albumBody.tpl to omit the captions. activate your layout in site admin.. now you can change the layout of any album to omit the captions.

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Sun, 2005-02-13 05:21

When you do this you might need to modify some of the include tags in albumbody.tpl or singlebody.tpl? The last time I made a new layout I forgot this it took me half a day to figure out why my changes weren't working.