Page 1 of 1

Lost Captions/Titles

Posted: Mon Oct 08, 2012 6:58 pm
by RosemaryP
Hi,

I lost the captions in my slide show.

The show looks great with the captions/artwork titles beneath the image while I am previewing it in the editor. However, when I take this live all the artwork titles are missing.

What did I miss?

Here is the link to the gallery
http://www.handpaintedphotography.com/gallery_all.html



Mega Thanks
Rosemary P

Re: Lost Captions/Titles

Posted: Tue Oct 09, 2012 11:26 pm
by RoadRash
Hi Rosemary,

In your highslide.config.js file you have this line that tells to use the text from the thumbnailÔÇÖs (img tag's) title attribute as caption:

Code: Select all

hs.captionEval = 'this.thumb.title';
You need to add the title attribute to the markup of each image.
Example:

Code: Select all

	<a href="highslide-custom-all/highslide/images/large/NovaScotiaMaritimes.jpg" class="highslide" 
			title="" 
			onclick="return hs.expand(this, config1 )">
		<img src="highslide-custom-all/highslide/images/thumbs/NovaScotiaMaritimes.jpg" alt="" [hilight]title="Caption Text"[/hilight] />
	</a>

Re: Lost Captions/Titles

Posted: Wed Oct 10, 2012 1:19 pm
by RosemaryP
Hilde, you are my new best friend!

I had the titles in the wrong placement. I had:

Code: Select all

<a href="highslide-custom-all/highslide/images/large/LoyalistCove.jpg" class="highslide" 
		[hilight]	title="Loyalist's Cove" [/hilight]
			onclick="return hs.expand(this, config1 )">
		<img src="highslide-custom-all/highslide/images/thumbs/LoyalistCove.jpg"  alt=""/>
	</a>

Thanks so much! I really, really appreciate your help.

:mrgreen:
~Rosemary P