View Full Version : How to display title.
05-06-2008, 02:20 AM
How do I get the title of the photograph to display on the page such as is done on this superb photoblog: http://www.andrewor.com/
I have to rollover my photos to see the title as can be seen here: http://www.tomkaszuba.com/index.php
05-06-2008, 10:39 AM
You need to add the <IMAGE_TITLE> tag to your image_template.html file where you would like it to be displayed.
You are using the Horizon template, right? If so, you can open image_template.html and insert the tag as follows to get the image title below the image:
<img src="images/<IMAGE_NAME>" alt="<IMAGE_TITLE>" title="<IMAGE_TITLE>" width="<IMAGE_WIDTH>" height="<IMAGE_HEIGHT>" id="photo" />
</div> <!-- /photo -->
If you'd like it displayed somewhere else, let me know and I'll take a look at the code again.
05-06-2008, 03:00 PM
Thank you very much dhdesign. It worked like a charm. The only thing I did differently was to change the p tags around the image_title to center tags.
For some reason the p tag put the title way over to the left and not under the photo. Now......if there was a way to place the title directly under the photo on the left hand side I would be interested in doing that if possible.
Again....many thanks to you for the expertise you have provided me.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.