103

As a result from the feature request Discourage screenshots of code and/or errors about 2.67 years ago, a message has been added to the image uploader warning users not to use them as a means to add code to the post, see this meta answer.

However, this feature is only active for users with 15 reputation and below, while users below 10 rep simply cannot post images at all.

I have no stats on the result of this measure, but from personal experience the practice of code screenshots is still highly prevalent.

Side note: The feature was temporarily broken and only reintroduced this February. To my knowledge the reputation limit remains the same, though.

I propose to either substantially raise or remove this reputation limit entirely, as the message is currently displayed for hardly anybody and its effect thereby massively stifled.

22
  • 4
    Perhaps make it the same as the comment/answer limit - 50?
    – Paulie_D
    Commented May 14, 2018 at 15:44
  • 8
    "Hardly anybody" you say?
    – Makoto
    Commented May 14, 2018 at 15:51
  • 7
    @Paulie_D From my understanding the message is currently not even a in-your-face popup, as others want it to be. If it was, a limit of 50 reputation would do. Personally, I do not see any major drawback from removing the limit entirely if the message is just additional text displayed in the uploader. Commented May 14, 2018 at 15:51
  • 17
    @Makoto Shouldn't it be between 10 and 15 reputation? That would amount to 422k users. Arguably a lot, but as soon as you left this rep bracket you lost your chance to encounter the message ever again. Commented May 14, 2018 at 16:00
  • 6
    Correction: Users under 10 rep cannot embed images. They can still upload them and add them to the post, but it can't be embedded Commented May 14, 2018 at 16:13
  • 1
    This doesn't nearly go wrong as often as it could, at least in the tags I visit. I find it kinda useful, saves me a lot of time. One of the best question quality indicators I know. Commented May 14, 2018 at 17:04
  • 2
    @Zoe True. Unfortunately, users with more reputation will embed text images into the post for them. I used to try to Reject these when they were suggested edits but I gave up and started Skipping instead because the edit was always either Approved by other reviewers or the image(s) got added by a user with over 2K rep anyway.
    – BSMP
    Commented May 14, 2018 at 17:41
  • 2
    @Makoto As users below 10 rep can't upload images at all, the number of users that actually see the message is (compared to the other numbers) "hardly anybody" as you can see in this modified query
    – Mischa
    Commented May 14, 2018 at 19:33
  • Okay; I stand corrected.
    – Makoto
    Commented May 14, 2018 at 19:34
  • 28
    @cryophoenix It absolutely does matter how the code is presented. Screen readers can't read it, search engines can't read it, and potential answerers can't copy/paste it to easily test it, among other things. And SO has built-in syntax highlighting anyway. Commented May 14, 2018 at 19:47
  • 2
    @Makoto Actually, you were correct first. Mischa is incorrect; all users can upload images, but only 10+ rep users can embed images (<10 rep users can just link the uploaded images, and I believe it counts as one of the 8 links).
    – gparyani
    Commented May 15, 2018 at 5:44
  • 1
    @Makoto your query for the qualified number of users is correct, but I would filter it for users with at least one post: if you've never posted then you're not concerned by the visibility of this banner. And I would filter it for accounts active after the feature (Oct 6 '15). I tried to query it, but I'm not very good at SQL, so my query is likely wrong but here it is: data.stackexchange.com/stackoverflow/query/851843/…
    – Cœur
    Commented May 15, 2018 at 6:32
  • 6
    Also note that users that come from another SE site get 100 rep with their packet of corn flakes. Which doesn't necessarily mean that they are aware of SO-specific rules and culture.
    – Lundin
    Commented May 15, 2018 at 13:36
  • 1
    FWIW, I saw a question in the Python tag less than an hour ago that was basically a code dump with "it doesn't work" as the accompanying text, and the code was an image (of just the code no error messages). The question received several comments telling the OP to fix their post, including a link to this as well as a idownvotedbecau.se link. The post got a flurry of downvotes and was put on hold (no MCVE) before the OP had a chance to respond.
    – PM 2Ring
    Commented May 16, 2018 at 14:45
  • 1
    @Makoto - Perhaps the more relevant stat would be how many questions posted by users < 15 vs. >= 15. I limited that to the last year. It's about 1:2 (e.g., < 15s count for about half as many as the >= 15s). It's horribly skewed, of course, because the user's rep may have increased since posting the question... Commented May 16, 2018 at 15:03

2 Answers 2

58

To illustrate what we're talking about, it's the yellow banner visible on this capture, only for people with less than 15 reputation:

And yes, this banner has likely not been noticed enough when you get above 15 reputation, so the reputation limit to keep seeing it should be increased.

For a start, I would at least raise it to a 200 reputation cap, similar to the Reduce Ads privilege.

14
  • 31
    You could also change the color of the text to make it more visible.
    – gparyani
    Commented May 15, 2018 at 5:40
  • 2
    Or change the backdrop to red, to make it even more in your face
    – Luuklag
    Commented May 15, 2018 at 9:13
  • 7
    Red background and white text would meet accessibility standards and be very much in your face.
    – user7236046
    Commented May 15, 2018 at 9:34
  • 10
    We need to bring back <blink> and <marquee> for this one...
    – Machavity Mod
    Commented May 15, 2018 at 14:12
  • 14
    Well... that's misleading. If you post images of code... - NO, this should say Do not post images of code!.
    – J...
    Commented May 16, 2018 at 14:30
  • 2
    @J...: I broadly agree, but sometimes images of a error pop-up in an IDE can be useful.
    – halfer
    Commented May 16, 2018 at 14:33
  • 1
    @halfer You can always copy the text of any error message. It's only useful as an image as a last resort - ie : OP was lazy and posted a picture and that's all you have to work with (which is how we got here in the first place). If they have the presence of mind to understand that it is important to show the error then they can also just hit CTRL+C and paste the text directly.
    – J...
    Commented May 16, 2018 at 14:36
  • 1
    @gparyani I disagree. Red should be reserved when we know there is an issue, not when it's possible there's an issue.
    – Goose
    Commented May 16, 2018 at 14:43
  • @Goose Didn't say it should be red, just said it should be a different color.
    – gparyani
    Commented May 16, 2018 at 14:44
  • 2
    @J...: we are probably in more agreement than you think - I'm all in favour of combatting lazy screenshots :-). However, there are some cases where the syntax error underlining means that sometimes an image does carry more useful information that the transcribed text.
    – halfer
    Commented May 16, 2018 at 14:45
  • @halfer If people are asking questions here with big red underlines showing them where their problem is, which they are ignoring, they can hand in their keyboards and go home. ;P
    – J...
    Commented May 16, 2018 at 14:51
  • Another excuse that's sometimes offered is that the OP doesn't know how to copy & paste stuff from a Windows terminal. Ok, it might not be straight-forward, and I suppose most Windows users don't spend a lot of time in the terminal, but it's not that hard to find out how to do it.
    – PM 2Ring
    Commented May 16, 2018 at 14:57
  • 1
    Gold text on Yellow background? Blue or Black text would be better IMHO. Commented May 16, 2018 at 15:04
  • @gparyani ah, your right. I guess I was really trying to reply to the rest of the people in the comments that replied to you suggesting red.
    – Goose
    Commented May 16, 2018 at 16:02
-18

I disagree with this, because users with less than 10 rep can still upload images to the SE Imgur account; they just can't embed the images (they have to link them). So the rationale given in the question (that it's "only shown to users with 10-14 rep") isn't true.

In triage review, I frequently get questions where users have put in a link to a code screenshot, that are posted by <10 rep users. There just aren't really that many for users with 15+ reputation for me to support increasing the limit for it.

2
  • (ask for triage advice: what would you do with those?)
    – user202729
    Commented May 15, 2018 at 5:12
  • 2
    @user202729 Unsalvageable, close as off-topic
    – gparyani
    Commented May 15, 2018 at 5:13

You must log in to answer this question.

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