Problem
Every day on SO, I come across questions sharing a stack snippet that has local images in it, which makes the images inaccessible and the problem irreproducible. While this is not always a problem, it often is, especially when the question is about the images...
If users would read the guidelines, they would know they need to share a minimal, reproducible example. If users would thoroughly review their question before posting it, the problem would also be solved. Unfortunately, they don't always do.
Possible solutions?
What if those local, inaccessible images were automatically replaced with dummy images? The downside to this approach is you'd probably still end up with images having the wrong dimensions, which is not always better than missing images.
But what if there was a way to show a warning when images in a code snippet are inaccessible? That would at least partially solve the problem of numerous questions being asked every day about an irreproducible problem.
Are there other/better ideas to help improve the quality of these questions?
height
andwidth
. Or there are services for placeholder images of given sizes. Again, though, the image might not even be important. If the question is "how do I make text bold" then OP has failed on the minimal part.src
attributes (not only for images) and display warnings - however, asking that of SE is mostly pointless as they don't even keep Stack Snippets up to date, much less develop new features for them (nothing to the detriment of the proposal - just the sad state of things as they are currently).[mcve]
, when included in a comment, will expand to a link to the help center page on that topic as well.