Support » Plugins and Hacks » [Plugin: NextGen] Default Image for the Album Preview

Viewing 1 replies (of 1 total)
  • Oh well i fixed it with

    <?php if($gallery -> counter > 0 ) {?>
    <img class="Thumb" alt="<?php echo $gallery->title ?>" src="<?php echo $gallery->previewurl ?>"/>
    <?php } else { ?><img class="Thumb" alt="default" src="your default img here!"/> <?php } ?>
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: NextGen] Default Image for the Album Preview’ is closed to new replies.