I like to display random images of my galleries. I use this code and it works fine:
But now I like to exclude a gallery. And I have no idea how I could do this. I searched the web and just found this code:
This code works but I can’t change the layout of the displayed images. I need this HTML output:
<div class="imageElement"> <h2><?php echo $image->alttext ?></h2> <p></p> <a href="#" title="" class="open"></a> <img src="<?php echo $image->imageURL ?>" alt="<?php echo $image->alttext ?>" class="full" width="980" height="450" /> <img src="<?php echo $image->thumbnailURL ?>" alt="<?php echo $image->alttext ?>" class="thumbnail" /> </div>
Does anybody has an idea? Thank you!
Greetings from Germany,
- The topic ‘[NextGen Gallery] Exclude gallery when displaying random images’ is closed to new replies.