Lightbox and the dreaded quotation marks.

Post Reply
MBSteve
Posts: 2
Joined: 22 Sep 2011, 13:57

Lightbox and the dreaded quotation marks.

Post by MBSteve » 22 Sep 2011, 23:16

I just noticed that generating a Lightbox gallery with a long description of the image that included quotation marks truncates the description just before the first quotation mark. I just worked around by using an apostrophe instead. It's all right in the imageXXXX.html file generated so it must be in the Lightbox script.

Maksym
Site Admin
Posts: 2071
Joined: 02 Mar 2009, 17:02

Re: Lightbox and the dreaded quotation marks.

Post by Maksym » 23 Sep 2011, 10:35

It's recommended to use " for quotation marks in HTML so you can use in your long descriptions too.

MBSteve
Posts: 2
Joined: 22 Sep 2011, 13:57

Re: Lightbox and the dreaded quotation marks.

Post by MBSteve » 23 Sep 2011, 13:45

Thanks Maxim. Partly my mistake in that the " has to be put in the index page where Lightbox uses the title tag when it generates the image and caption. But you can put them in the Long Description too.

Post Reply