phorbidden on "[Plugin: NextGEN Gallery] Random Images on paginated pages"

January 6, 2011

when you go to http://sounds-like.org/blog/gallery-m-a-n-d-y-album-tour/?nggpage=2 the call to <?php if (function_exists(“nggShowRandomRecent”)) {echo nggShowRandomRecent(‘random’,6,’home’);} ?> only provides the following in the GALLERY section of the sidebar:

<ul>
</ul>

from my template page that looks like this:

<?php if (!defined ('ABSPATH')) die ('No direct access allowed'); ?><?php if (!empty ($gallery)) : ?>
<ul>
  <?php //echo "images is ".print_r($images); ?>
	<?php foreach ( $images as $image ) : ?>
	<li><a href="<?php echo $image->pagelink; ?>" title="<?php echo $image->alttext ?>" ><?php if ( !$image->hidden ) { ?><img title="<?php echo $image->alttext ?>" alt="<?php echo $image->alttext ?>" src="<?php echo $image->thumbnailURL ?>" width="74" height="74" /><?php } ?></a></li>
	<?php if ( $image->hidden ) continue; endforeach; ?>
</ul>
<?php endif; ?>

I guess I am not sure what you are asking…

Incoming Searches:

Leave a Comment

Previous post:

Next post: