I was wondering how many posts have image(s) in them? Is it possible to query that?
This comes from trying to understand how much people care to put pictures in SO, and trying to gather data for discussions on this subject.
It's nice to take a side and form an opinion based on actual numbers.
Bonus: How are the numbers from regular SO and meta SO compared to each other?
Footnote: I'm not judging wether the images are good (diagram) or bad (screenshot of code), but in case that's to consider, maybe just counting images in answers (as they should not include as many code) I guess would be fine.
SELECT COUNT(*) FROM Posts WHERE Body LIKE '%<img%'
in SEDE. That will include posts where the <img> tag is inside code, but it'll give a nice base figure.like '%//i.stack.imgur.com%'
to only include the images provided via SO's editor. This would probably handle the vast majority of cases without code conflicts. @Glorfindel