RosemaryP
Posts: 2
Joined: Mon Oct 08, 2012 6:51 pm

Lost Captions/Titles

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
User avatar
RoadRash
Posts: 8249
Joined: Tue Jul 15, 2008 6:43 pm
Location: Fredrikstad, Norway
Contact: Website

Re: Lost Captions/Titles

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>
Hilde
Highslide Support Team

Overview of my Highslide sample pages: RoadRash.no
RosemaryP
Posts: 2
Joined: Mon Oct 08, 2012 6:51 pm

Re: Lost Captions/Titles

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

Return to “Highslide Editor”