I have a node with a CCK ImageField. currently there is a default image associated with the ImageField.
I would like to NOT have the default image show up when a view is called on a page.

Is there a way to add "do not display default value" alongside "hide if empty" when configuring an imagefield in views?

Thanks.

Comments

merlinofchaos’s picture

Project: Views (for Drupal 7) » ImageField
Version: 6.x-3.0 » 6.x-3.x-dev
Component: Views Data » Code

This is all handled by the imagefield module, not Views.

Anonymous’s picture

Not sure if I understand clearly.

Are you saying there is no way to instruct the view to not display a node in the query results if the ImageField is using a default image in place of an actual user uploaded image... because views can't tell the difference?

Is there another solution if that's the case?

merlinofchaos’s picture

I'm saying that data provided by modules also has its Views integration provided by that module.

Views core does not know any specifics about the data provided by modules -- so any features *about* that data has to be provided by the module. Does that make more sense?

Anonymous’s picture

Yes.

I understand. Unless ImageField supplies views with "is default" data, then Views cannot distinguish between whether the image was uploaded to the field via user interaction or automated default image binding.

sooooo... any ideas on solutions?

krystianbuczak’s picture

What about a solution with Filter: image FID with "not null" or ">0" option?