ZenphotoCMS Forum
Photo Titles - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Photo Titles (/thread-5690.html)



Photo Titles - tsarge - 2009-08-17

Is it possible to display the photo titles in the default theme, similar to the albums display? If not, do any other themes allow you to do this?

I am building a pretty large gallery of .flv videos, each with similar thumbnails so they won't be distinguishable without the titles.

Thanks a bunch




Photo Titles - olihar - 2009-08-17

you could add this below the thumb.

">




Photo Titles - tsarge - 2009-08-17

that looks like its calling the album title - I'd like to show the title of each photo under each photo's thumbnail




Photo Titles - acrylian - 2009-08-18

It is quite similar for image titles, too. Please review the theming tutorial and the documentation as well as the pdf cheat sheets.




Photo Titles - olihar - 2009-08-18

ahh misunderstood, however it is absolutely the same.

">




Photo Titles - tsarge - 2009-08-18

Thanks for the help guys, I appreciate it. I am a beginner though, in which file would I stick this line? I'll also review those suggestions acrylian.




Photo Titles - acrylian - 2009-08-18

Reading the theming tutorial should give you the clue...:-)




Photo Titles - tsarge - 2009-08-18

haha alrighty... I see you'd rather not have me back here with another question tomorrow. whats the saying? give a man a fish and he wont be hungry for a day, teach a man to fish and he'll never be hungry again?




Photo Titles - acrylian - 2009-08-18

Well, we did not write that tutorial for nothing...:-) Seriously, probably you will get more ideas to customize on the way. Further questions are welcome but first best first get familiar with the bascis.




Photo Titles - tsarge - 2009-08-20

Ok so I managed to get the titles to appear, but I don't know how to control how they are displayed. I assume this takes a better understanding of how the theme works which I don't have (yet - working on it). My gallery is here:

http://www.mattrach.com/new/videos.php

I'd like to make the title wrap so it doesn't effect the width of the border around the thumbnail. I'd also like to change the formatting of the titles. Also, is it possible to show viewcount here? I'll be working on solving these myself, but I'd REALLY appreciate any nudges in the right direction. Thanks again

Tom




Photo Titles - acrylian - 2009-08-20

Themes are just plain XHTML and CSS with PHP template functions so this is how you control their display behaviour.

It is possible to show the view point, please review the documentation on its functions (search for "hitcounter").




Photo Titles - tsarge - 2009-08-20

I guess anyone can help me with this then, I use tables for formatting so am a bit behind on divs. My code looks like this, and all I want to do is place the title below the thumbnail and format it seperately. any help is appreciated as I assume this is a quick fix for most.

`

            ">


             ">

`




Photo Titles - sbillard - 2009-08-20

Just insert the function to print the title in your code below the thumbnail. Put whathever HTML formatting around it that you wish. (Or format it when you create the desctiption.)