[Plugin: NextGEN Gallery] show gallery image(not thumbnail) in album
-
I’m trying to display the large image, not the thumbnail, in my album listing. See https://clients.pixelalchemy.com/rsl2/?page_id=92 . I’m trying to put a big image in the rollover on the right column.
Currently, I’m using
$gallery->previewurl
to display the thumbnail, but I need the larger version due to the size. Ideally, I’d like to access $image->imageURL available in gallery.php, but I can’t figure out how to address it from the album level.I’d be happy to settle for the first, or default image for the first item in the gallery, but ideally would be able to access the large version of the gallery preview image.
My relevant code:<!-- Thumbnails --> <?php foreach ( $images as $image ) : ?> <div id="ngg-image-<?php echo $image->pid ?>" class="ngg-gallery-thumbnail-box" <?php echo $image->style ?> > <div class="ngg-gallery-thumbnail" > <a href="<?php echo $image->imageURL ?>" title="<?php echo $image->description ?>" <?php echo $image->thumbcode ?> > <?php if ( !$image->hidden ) { ?> <img title="<?php echo $image->alttext ?>" alt="<?php echo $image->alttext ?>" src="<?php echo $image->thumbnailURL ?>" <?php echo $image->size ?> /> <?php } ?> </a> </div> </div> <?php if ( $image->hidden ) continue; if ( $gallery->columns > 0 && ++$i % $gallery->columns == 0 ) { print '<br style="clear: both" />'; } endforeach; ?>
- The topic ‘[Plugin: NextGEN Gallery] show gallery image(not thumbnail) in album’ is closed to new replies.