Often I'll want to link to a previous answer that I know has a screen-shot relevant to a current question.

I was looking over a variety of other questions on Meta mentioned 'search'1 and the search help page on SO to try and ascertain a way to search for <img tags in posts (I realize that is not the way that SO normally embeds images, but I reuse them often by forming an img element based on the URL of the original).

Is there a way to filter searches for posts containing images?

1. Possibly related questions

Only the first two seem closely related, the first one especially so, but it is referring to specialist symbols such as === that would not typically be inside an HTML element.

  • 1
    To be more like the other search options, it would be more like hasimg:1 or something. I think <img should return questions containing that tag instead. Your search query would be hasimg:1 is:answer some keywords here
    – Sumurai8
    Nov 16, 2013 at 7:28
  • @Sumurai8 "Your search query would be hasimg:1 is:answer some keywords here" I don't understand. Are you suggesting that something like that should work currently, or that if implemented, that is how it should be implemented? I tried a couple of variants of hasimg:1 without success. Nov 16, 2013 at 8:10
  • If something like this is implemented, the query would look something like that. As the link shows, there is currently no such thing as hasimg (or anything image related). There is something as hascode, hence why I suggested hasimg as the name.
    – Sumurai8
    Nov 16, 2013 at 8:13
  • @Sumurai8 Thanks for clarifying. I would be happy to see it implemented in any form. Nov 16, 2013 at 8:15

1 Answer 1


Given no replies in more than a month, I'm going out on a limb to suggest:

  1. No there is no such functionality.
  2. Interest in such an ability is so low as to not justify implementing it.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .