Tonic Gallery : Linking thumbnails to another page

Problem:

How can I link the thumbnail images to another page, rather than opening the preview image in lightbox?
Original poster

Solution:

You have to open the script/portfolio-setter.js file and delete or comment out line 250:

$('a[rel="lightbox['+parentId+']"]').prettyPhoto({theme:'dark_rounded', keyboard_shortcuts: false});

Then you can insert the page URL in the XML file instead of the preview image URL:

<preview>http://site.com</preview>

Pexeto

Was this useful? 0