WordPress.org

Support

Support » Plugins and Hacks » nextgen gallery thumbnail/picture to url

nextgen gallery thumbnail/picture to url

  • Hello,

    I was wandering if a thumbnail click could link to an url with the nextgen plus gallery.

    I found some rather difficult methods to do that, but it dates from a couple of years ago.

    Is it possible to do with the new version?

    What should a do?
    I enabled slideshow!

    see example what i mean:

    http://img30.imageshack.us/i/pictourl.jpg/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Tracey
    Member

    @traceyrissik

    Hi

    I’m also searching for this same feature.

    For example, in “Featured Content Gallery” or “content slider plugin” you can associate a specific URL with an image. I would like to do the same with Nextgen, so that instead of just showing an image when you click on a thumbnail, it can take you to another page with the website.

    Is this possible?

    thanks!
    Tracey

    I found it for the widget at least:

    in nextgen-gallery/widgets/widgets.php change line 645 from

    $out = '<a href="' . $image->imageURL . '" title="' . $description . '" ' . $thumbcode .'>';

    to

    $out = '<a href="' . $alttext . '" title="' . $description . '" ' . $thumbcode .'>';

    Tracey
    Member

    @traceyrissik

    Thanks – I’ll give this a try 🙂

    I was also recently pointed to a useful “hack” by a WP expert:
    http://www.kimwoodbridge.com/how-to-link-nextgen-gallery-images-to-an-individual-page-or-post-in-wordpress/

    thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘nextgen gallery thumbnail/picture to url’ is closed to new replies.