I'd like to be able to filter out nodes in my views that don't have an imagefield crop field in them. I feel like this was possible at one point. If so, how? if not, could this be added? I only want to display nodes with attached images in a certain view.

Comments

bflora’s picture

Bump.

johnmunro’s picture

Do you mean filter those nodes that don't actually have an image uploaded or do you mean nodes that don't have the imagefield_crop widget in them. If the latter do a filter based on the content type as you would surely have a different content type for nodes without imagefield_crop field in them.

If the former, clarify it so yhager can use his time efficiently.

bflora’s picture

The former.

I have nodes of type "news" with imagefield_crop.

Some of these nodes have values in the imagefield_crop. Many don't.

I would like to be able to make a view of news nodes that includes only news nodes with images uploaded into the imagefield_crop field.

It seems to me that a views handler is what's required.

johnmunro’s picture

Ok. You want Views to select only nodes that have a value in the field. As the field is, at its heart, a Filefield type in the CCK module (imagefield and imagefield_crop are only handlers for this type) then I would say that you should be looking for this functionality in the filefield API which states that it does have Views support. http://drupal.org/project/filefield

Does this seem correct to you bflora? If so, then mark this as closed and file a support request under filefield if you can't find the functionality that you are looking for.

avpaderno’s picture

Title: Filter for views? » Filtering out nodes without uploaded images
avpaderno’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

I am closing this issue, which is for a not supported Drupal version.