I have a cck type that has an image field as an optional field. I then pull the images to my homepage and display thumbs. The problem is that not all of the posts have images. Since the image is optional, i get a "blank space" if an image has not been uploaded.

I would like to be able to filter the view so that it checks for the existence of an image in the imagefield. has anyone done this? Is it possible?

j

Comments

yched’s picture

This is a more general feature request about being able to filter empty / non empty values for fields.
I made an attempt at that a few weeks ago, but did not committed it by lack of feedback : : http://drupal.org/node/101050 (the patch might be slightly outdated now)

I'll leave it to imagefield people to set as 'duplicate' or not.

dopry’s picture

Status: Active » Closed (duplicate)

Setting to duplicate. This is a feature all CCK fields can benefit from.