Member
Member
odnamra   18-02-2010, 23:06
#1

Is there a simple way to display the image title while in the album view? I would like to be able to see the image title in addition to the thumbnail without having to click on each image. Thank you in advance for any kind replies.

Member
Member
sbillard   18-02-2010, 23:20
#2

At least the Effervescence+ theme sets the image title as part of the "alt" tag of the link so if you mouse over the thumbnail it will be displayed. If you want the title displayed under the image you would have to add the code to do this and also possibly you might need to modify the CSS.

Of course, it all depends on the theme you are using, but you did not see fit to mention that....

Member
Member
odnamra   19-02-2010, 00:45
#3

I am currently using the Default theme. I was hoping for an option that didn't require modifying the code (since I lack the knowledge to do that). Thank you for your reply.

Member
Member
odnamra   19-02-2010, 09:56
#4

OK. I have made it far enough that I could modify any file on my ftp if I knew how to theme. If someone is willing to add the appropriate code and send me the new file I will paypal them $50. I need this by tomorrow for work.

Member
Member
odnamra   19-02-2010, 10:09
#5

I forgot, my email is: odnamra at gmail

Administrator
Administrator
acrylian   19-02-2010, 10:22
#6

Not that I would not need money at all...:-) But this is really easy if you invest a little time to read the theming tutorial. All you have to do is to enter the printImageTitle() function within the next_image() loop on the album.php theme page and adjust the HTML/CSS so it looks right.

Member
Member
odnamra   19-02-2010, 18:22
#7

THANK YOU!!!

I inserted the code like you said, now I'm getting an error:
Parse error: syntax error, unexpected '[', expecting ')' in /home/odnamra/theoddsart.net/themes/theodds/album.php on line 47

I made sure that I posted exactly what was indicated in the functions guide (minus the word "void").

Any ideas?

EDIT:
I deleted all the variable inside printImageTitle and now it's working.

Member
Member
odnamra   19-02-2010, 18:48
#8

@acrylian can you please help me edit the css? I've been trying and I just can't figure it out. I have found the "Image Thumbnails" section of Dark.css (I'm using the dark version of default), but I can't get my titles under my images, they are currently showing up to the right side of each thumbnail.

Thank you again!

Member
Member
odnamra   19-02-2010, 23:24
#9

@acrylian I moved it to the right place and added the tags like you said. It works perfectly now. Thanks!

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