WordPress.org

Ready to get started?Download WordPress

Forums

nextgen gallery thumbnail/picture to url (4 posts)

  1. tielman
    Member
    Posted 3 years ago #

    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/

  2. Tracey
    Member
    Posted 3 years ago #

    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

  3. jzvestor
    Member
    Posted 3 years ago #

    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 .'>';

  4. Tracey
    Member
    Posted 3 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags