Support » Plugin: WordPress Gallery Plugin - NextGEN Gallery » [Plugin: NextGEN Gallery] Using Widget, how to open image in new window?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter comedorsamus

    (@comedorsamus)

    Sometimes I swear I outdo myself, damn.

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

    Chris

    (@eminemdrdre00)

    Thank you! I’ve been trying to find out how to link the thumbnails to an external link, rather than the image itself. I modified your code to do that.

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

    Thank you again! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: NextGEN Gallery] Using Widget, how to open image in new window?’ is closed to new replies.