Just noticed that images from within albums that are flagged as invisible show up on the search page.
and also invisble albums themselves
dont know if this should be..
made a workaround for this on my search.php in the loops as shown below but would be nicer in the template function (tried that but could not get it working).
`
<?php while (next_album()): ?>
<?php $check=$_zp_current_album->getShow();
if (!$check){
echo "
";
}?>
<?php printAlbumThumbImage(getAlbumTitle()); ?>
<?php if (!$check){ echo "</div>";}?>
<?php endwhile; ?>
`
`
<?php while (next_image(true)): ?>
<?php $check=$_zp_current_image->getAlbum();
$check=$check->getShow();
if (!$check){
echo "
";
}?>
<?php printImageThumb(); ?>
<?php if (!$check){ echo "</div>";}?>
<?php endwhile; ?>
`
Comments
but it's okay since my above fix is good enough for me. thanks