How to check if a node has a photo/video to use as an exposed filter in views? I am interested in creating an exposed filter with the following values:


Has photo
Has video
Has both photo and video


So this filter will check nodes and show only those with photos, if this filter is selected etc.

How can i do this? Should I create a new field on the content type and populate this according to having image/video?

Any ideas?

thanks
You should be able to add the photo field or fields as filters and set their criteria to "not empty". Then, only those records with a photo should be visible. The same applies for the video field.