...or that's how it feels at least :)
I know similar Lightbox link questions have been asked before but I'm not sure they applied exactly to my situation. I am trying to set it up so that a link in the Lightbox title/caption opens the full size image. In other words, on my page, I have a thumbnail, then if I click on that, it opens a detail (in Lightbox), then below that Lightbox popup would be some text, and a link to view an even larger image (ideally as a Lightbox popup.) I have read a bunch of other threads and followed the instructions to change the <> to html values, etc. and I think I'm nearly there, but it's not quite working. The link is showing up properly in my code, and I get a finger pointer when I hover over the link, but for some reason nothing happens when I click it. I can right click and open the link in new window, and that works, but apparently something (in the Lightbox code?) is preventing it from working on the page.
I guess what I'm wondering is:
- Is this possible?
- Is it relatively simple (I have no experience with Javascript/Jquery…)
- Is it possible to have a link in a Lightbox popup open another Lightbox popup?
- Is there an option other than Lightbox that will allow this (Colorbox? Slimbox?)
Here is my code so far:
<a href="<?php echo dirname($image->url()); ?>/detail/<?php echo $image->name() ?>-detail.jpg" rel="lightbox[<?php echo $page->catalogue(); ?>]" title="<a href='<?php echo dirname($image->url()); ?>/max/<?php echo $image->name() ?>-max.jpg' rel='lightbox'>FULL SIZE</a>"><img src="<?php echo $image->url() ?>" width="<?php echo $image->width() ?>" height="<?php echo $image->height() ?>" alt="<?php echo $image->name() ?>" /></a>
Here is an example of how it's outputting:
<div class="item" style="width: 194px; margin: 3%;">
<a href="http://www.chrissvensson.info/ces85/content/035-035/detail/DSC_3335-detail.jpg" rel="lightbox[035]" title="<a href='http://www.chrissvensson.info/ces85/content/035-035/max/DSC_3335-max.jpg' rel='lightbox'>MAXIMUM</a>"><img src="http://www.chrissvensson.info/ces85/content/035-035/DSC_3335.jpg" width="194" height="300" alt="DSC_3335" /></a></div>
Just to clarify, I am using Lightbox 2.5.1 (http://lokeshdhakar.com/projects/lightbox2/)
Thanks so much for any help you might be able to provide. And again, I apologize if this has been answered before…