I've been using filefield+imagefield to add an image gallery to nodes. Here is the template code for teasers;
<?php if ($field_gallery) { ?>
<div class="gallery-teaser">
This node has an image gallery.
</div>
<?php }; ?>
I can see that line even if those fields are empty. Since I only updated filefield module from the date it was working OK. I'm thinking it's a bug about filefield module.
Comments
Comment #1
quicksketchSee #404270: Imagefield Variable with no images still has an entry