Forum Replies Created

Viewing 1 replies (of 1 total)
  • jcorff

    (@jcorff)

    How to add a link on an individual image in the slideshow:

    I was beating my head against a wall on this for awhile, so hopefully this will be helpful to someone else. It involves editing the files of the plugin itself, so it’s not perfect.

    First, put the links you want in the description field of the images in the gallery.

    Once you have your links in place, open up plugins/nextgen-galleryview2/galleryview/js/jquery.galleryview.js

    Insert after line 465 the following code

    var mssg = "'" + gvImage.attrs.description + "'";
    var js = "window.open(" + mssg + ");";
    img.attr("onclick", js);

    Save and upload your changes.

    Code is dirty, but it works.

Viewing 1 replies (of 1 total)