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

Lost Captions/Titles

Mon Oct 08, 2012 6:58 pm


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

Mega Thanks
Rosemary P

User avatar
Posts: 8249
Joined: Tue Jul 15, 2008 6:43 pm
Location: Fredrikstad, Norway
Contact: Website

Re: Lost Captions/Titles

Tue Oct 09, 2012 11:26 pm

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.

Code: Select all

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

Overview of my Highslide sample pages:

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

Re: Lost Captions/Titles

Wed Oct 10, 2012 1:19 pm

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=""/>

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

~Rosemary P

Return to “Highslide Editor”