I’ve got this meta tag with a few [image] found in it and nothing more - it’s really useless:
Google Webmaster tool isn’t happy about it either:
The discussion revolves around topics that are only images and have [image] as their meta description. meglio finds this meta tag useless and notes that Google Webmaster tool also flags it as an issue. Mittineague agrees and suggests not using the meta description tag or leaving it empty in such cases. codinghorror proposes verifying if the alt image text is used in the post excerpt extractor, which techAPJ confirms is the case. Additionally, techAPJ fixes an issue where blank meta descriptions were being shown in some cases.
Agreed, if the post is nothing but images and has no text content IMHO the meta description tag should either be not used or have an empty content attribute value
I wonder about this, I have seen [image] as well, we should verify that the alt image text is used in the post excerpt extractor when possible (when it is specified). For example in a typical image upload..
Can you take this as a to-do @techAPJ, let’s verify the behavior is correct. The rendered HTML above is
<img src="https://img.gif" alt="simmons" width="198" height="300">
Verified that alt image text is used in post excerpt as per:
The post just above as seen on your activity page:
Also, based on my local testing I noticed that in some cases we were showing blank meta description. Fixed that issue via:
https://github.com/discourse/discourse/commit/42c405a8200f9e481bcd64a18beabed9a8dea8d4