Viewing 8 replies - 16 through 23 (of 23 total)
  • Another thing Wiepke I downgraded to Version 1.9.12. It won’t work with the new one.

    Arrisje, downgrading did the trick. Thank you very much.

    I now understand why it did not work. The problem with the new version of Nextgen is that you now select your template from a dropdownlist in Display Galleries/Customize the display settings/Template.
    And there’s no option ‘gallery-customlinks.php’. And you cannot manually add the shortcode template=customlinks to the page where you inserted the gallery (so the code looked like this [nggallery id=x template=customlinks] ). Without this, you’ll never get the tutorial working.

    —-
    I also added some extra code in de gallery-custom.php to open a new window when clicking on a thumbnail. My code (stap 7 in the tutorial) now looks like this:

    <div id="ngg-image-<?php echo $image->pid ?>" class="ngg-gallery-thumbnail-box" <?php echo $image->style ?> >
    		<div class="ngg-gallery-thumbnail" >
    			<a target=\"_blank\" href="<?php echo $image->ngg_custom_fields["Link nieuw venster"]; ?>" title="<?php echo $image->description ?>" <?php echo $image->thumbcode ?> ><img title="<?php echo $image->alttext ?>" alt="<?php echo $image->alttext ?>" src="<?php echo $image->thumbnailURL ?>" border="0" <?php echo $image->size ?> /></a>
    		</div>
    	</div>

    So I added to the link the code target=”\_blank\”

    @wiepkje blij dat het je gelukt is ??

    Thank you @magellan456https://jackplug.co.uk/nextgen-gallery-link-to-url/ was a simple solution to implement

    There was a link support in 1.9.x for singlepic:
    [singlepic id=42 link=”….”]
    but this has been broken since v2, for all 31 updates.

    One of the reasons I’m not updating, and the lightox system still not functional.

    Luc

    Hi all, did this ever get solved with the newer versions?

    If you require assistance then, as per the Forum Welcome, please post your own topic instead of tagging onto someone else’s topic.

    I am now closing this 9 month old resolved topic.

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘How can I link a image with an URL with NextGEN 2.0???’ is closed to new replies.