Member
Member
tsarge   2009-08-17, 19:56
#1

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

Member
Member
olihar   2009-08-17, 20:13
#2

you could add this below the thumb.

">

Member
Member
tsarge   2009-08-17, 20:22
#3

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

Administrator
Administrator
acrylian   2009-08-18, 08:07
#4

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

Member
Member
olihar   2009-08-18, 09:32
#5

ahh misunderstood, however it is absolutely the same.

">

Member
Member
tsarge   2009-08-18, 16:41
#6

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.

Administrator
Administrator
acrylian   2009-08-18, 16:52
#7

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

Member
Member
tsarge   2009-08-18, 18:00
#8

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?

Administrator
Administrator
acrylian   2009-08-18, 18:15
#9

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.

Member
Member
tsarge   2009-08-20, 03:12
#10

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

Administrator
Administrator
acrylian   2009-08-20, 08:14
#11

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").

Member
Member
tsarge   2009-08-20, 18:21
#12

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.

`

            ">


             ">

`

Member
Member
sbillard   2009-08-20, 21:41
#13

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.)

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.