Viewing 1 replies (of 1 total)
  • hi,

    you have to add target=”_blank” to a link element which is in the singlepic.php file. You can find the file in the ‘view’ folder.

    here is how this file should look like:

    <?php if (!defined ('ABSPATH')) die ('No direct access allowed'); ?><?php if (!empty ($image)) : ?>
    
    <a target="_blank" href="<?php echo $image->imageURL ?>" title="<?php echo $image->linktitle ?>" <?php echo $image->thumbcode ?> >
    	<img class="<?php echo $image->classname ?>" src="<?php echo $image->thumbnailURL ?>" alt="<?php echo $image->alttext ?>" title="<?php echo $image->alttext ?>" />
    </a>
    <?php if (!empty ($image->caption)) : ?><span><?php echo $image->caption ?></span><?php endif; ?>
    <?php endif; ?>

    let me know if this works

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: NextGEN Gallery] Link image to a new page’ is closed to new replies.