hii, i custom zpBase when user loggin remove watermark, so watermark show only for user not login.
I try this, but i got no picture are shown.
Can you tell me, whats wrong about my code:
index-grid.php
<div class="image-unit">
<?php
if(zp_loggedin()) {
#show album thum, without watermark
?>
<a>" title="<?php printBareAlbumTitle();?>">
<?php if (getOption('thumb_crop')) {
printCustomSizedImage(getAnnotatedAlbumTitle(),getOption('thumb_size'),getOption('thumb_size'),getOption('thumb_size'),getOption('thumb_size'),getOption('thumb_size'),null,null,'remove-attributes', null, null);
} else {
printAlbumThumbImage(getAnnotatedAlbumTitle(),'remove-attributes');
} ?>
</a>
<h3><?php printBareAlbumTitle();?></h3>
<p class="album-desc"><?php echo truncate_string(strip_tags(getAlbumDesc()),120,'...'); ?></p>
<?php
}else{
?>
<a>" title="<?php printBareAlbumTitle();?>">
<?php if (getOption('thumb_crop')) {
printCustomAlbumThumbImage(getAnnotatedAlbumTitle(),getOption('thumb_size'),getOption('thumb_size'),getOption('thumb_size'),getOption('thumb_size'),getOption('thumb_size'),null,null,'remove-attributes');
} else {
printAlbumThumbImage(getAnnotatedAlbumTitle(),'remove-attributes');
} ?>
</a>
<h3><?php printBareAlbumTitle();?></h3>
<p class="album-desc"><?php echo truncate_string(strip_tags(getAlbumDesc()),120,'...'); ?></p>
<?php
}
?>
</div>