The readme states the following:

Turning the Image Caption into a Link
=====================================
If you wish to turn the caption into a link, format your caption in the
following way:

<a href="images/image-1.jpg" rel="lightbox[][&lt;a href=\"http://www.yourlink.com\"&gt;Clicky Visit Link&lt;/a&gt;'>image #1</a>

Note, the < and > characters have been changed to their HTML entities, and the "
have been escaped.

The above example for links in captions does not work, I also tried:

<a href="images/image-1.jpg" rel="lightbox[][&lt;a href=\"http://www.yourlink.com\"&gt;Clicky Visit Link&lt;/a&gt;]">image #1</a>

but that doesn't work either.. can someone please post the correct snippet?

Comments

Steel Rat’s picture

I can't get this to work either, even with KrisBulman's correction above.

I'm using "lightshow" to present a slideshow, and would actually like the user to click the image to go to the link instead of clicking the caption, which is pretty small.

jayemel’s picture

Follow the documentation on the following page for turning your captions into links. I had the same problem. The documentation on the following page fixed it.

http://drupal.org/node/356124

jayemel’s picture

Issue summary: View changes

moved from blockquote to code