I have a content type used to create many hundreds of nodes. The body field for these can contain images, usually inserted using the "add media" icon in the wysiwyg. Is there any way of creating a view to show only nodes of this type which have an image embedded? I was thinking of some crude "contains" operator for html tags such as [[{"fid": or <img> but I don't know if it's possible for Views to check a field's html as opposed to its content?

Incidentally this is needed because, I think due to an update to the Media module, some embedded images which don't have a fixed "height" value are appearing stretched to fill the node, whereas previously the aspect ratio was unchanged, so I need to get a list of these nodes to fix them :-/ If anyone knows an easier way of doing this, I would be hugely grateful.

Comments

awebmanager created an issue. See original summary.

MustangGB’s picture

Status: Active » Closed (outdated)

Closing this as outdated to tidy up a bit around here. If you're still having problems with the latest release please create a new issue.