[Plugin: NextGEN Gallery] How to integrate jQuery Galleria and jCarousel with NextGEN
-
While searching for a jquery gallery to integrate with NextGEN, I came across this one:
https://blog.themeforest.net/tutorials/how-to-integrate-the-jquery-galleria-and-jcarousel-plugins/
I found that it was quite easy to get this going with NextGEN. I downloaded the files and loaded them in WordPress. Now all I had to do, was to make a custom gallery-template. I called it gallery-galleri.php.
Here is my template:
<?php /** Template Page for the jQuery Galleria and jCarousel NextGEN integration **/ ?> <?php if (!defined ('ABSPATH')) die ('No direct access allowed'); ?><?php if (!empty ($gallery)) : ?> <div id="wrapper"> <div id="img"></div> <ul id="gallery" class="jcarousel-skin-tango"> <?php foreach ( $images as $image ) : ?> <li><a href="<?php echo $image->imageURL ?>" title="<?php echo $image->description ?>"> <img src="<?php echo $image->thumbnailURL ?>" <?php echo $image->size ?> alt="" /></a></li> <?php endforeach; ?> </ul> </div> <?php endif; ?>
Now just call it like a normal template, and you’ll have this going. Hopefully others will have use for this as well.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: NextGEN Gallery] How to integrate jQuery Galleria and jCarousel with NextGEN’ is closed to new replies.