[Plugin: NextGEN Gallery] Default gallery view = Cooliris (PicLens)? (5 posts)

  1. micasuh
    Posted 7 years ago #

    NextGEN is a great gallery plugin for WordPress, and I am especially impressed with the built-in support for Cooliris or PicLens as it's called on there.

    When I click on any of the photos, I get a thickbox view. I know how to switch it so that it shows no thickbox or other js plugin as well.

    What I'm interested in doing is clicking on a photo and having that photo show immediately in PicLens viewer. Is this possible?

  2. sampep
    Posted 7 years ago #

    I am looking for the same fonction!!

    Im not sure if it is possible ATM, but it would be just the perfect setup...


  3. micasuh
    Posted 7 years ago #

    I guess the lack of replies means no one knows anything. Darn!

  4. Begaraj
    Posted 6 years ago #

    I find out the way to use PicLens by default.
    You need to modify the file gallery.php (plugin/nextgen-gallery/view/gallery.php) and put this code <?php echo $gallery->piclens_link ?> in the href of the thumbnails link

    <!-- Thumbnails -->
    	<?php foreach ($images as $image) : ?>
    	<div id="ngg-image-<?php echo $image->pid ?>" class="ngg-gallery-thumbnail-box" <?php echo $gallery->imagewidth ?> >
    		<div class="ngg-gallery-thumbnail" >
    			<a href="<?php echo $gallery->piclens_link ?>" 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 ?>" <?php echo $image->size ?> />
    	<?php if ( $gallery->columns > 0 && ++$i % $gallery->columns == 0 ) { ?>
    	<br style="clear: both" />
    	<?php } ?>
     	<?php endforeach; ?>
  5. micasuh
    Posted 6 years ago #

    Nice, but every time NextGen is updated this functionality will be lost. Is there a way to do this using the functions.php file? Otherwise, it'll get lost in all the updating.

Topic Closed

This topic has been closed to new replies.

About this Topic