I've spent the last 3 hours trying to get the main slide image to open in lightbox but haven't had any luck.
First i tried changing;
.append('<span class="image-wrapper"><a class="advance-link" rel="history" href="#'+this.data[nextIndex].hash+'" title="'+image.alt+'"></a></span>')
.append('<span class="image-wrapper"><a class="preview-image" rel="lightbox" href="'+image.src+'" title="'+image.alt+'"></a></span>')
but this had no effect. I then tried a range of other code snippets but the one that showed the most promise was; i changed;
clickHandler(e, gallery, this);
Lightbox.start(this, false, false, false);
this loads lightbox at first but then open the image in the same window.
Is there a way to load up lightbox from a views galleriffic page or does the js code conflict? Ideally when the main slide image is clicked, it should load the full size/original image in lightbox and not the main slide image. Any help would be greatly appreciated.