Find all posts and replies that have images inserted/attached

Can I do a OR?

“with:images filetype:jpg OR filetype:jpeg”