Hot answers tagged

59

If you are using the native Stack Overflow imgur service (eg. clicking the little icon for adding an image in the toolbar), you can just append an s or m or l (for small/medium/large) at the end of the URL, before the file extension. http://i.stack.imgur.com/kXY0J.jpg http://i.stack.imgur.com/kXY0Jm.jpg http://i.stack.imgur.com/kXY0Js.jpg You could link ...


47

The maximum length of a post, question or answer, on Stack Overflow is 30,000 characters. This includes markdown and any other formatting. The limit on the question title is 150 characters. I don't believe there are any upper limits on the number of links and images. I challenge you to make a post so heavy on links and images that we're tempted to add some. ...


47

First, we are using Amazon S3, underneath Imgur. What do we get? A clean/easy API yes, but they handle virus scanning, image re-sizing (profile images, etc.), backups (we also back our Imgur-hosted images up nightly), and they're large enough to be at a better price overall due to the deals they get with their host, CDN, etc. It works - and it works well,...


42

Yes, just add an s, m or l (lowercase) at the end of the imgur link before the ".png". For example, the image http://i.stack.imgur.com/9tE32.png can be made: Small: http://i.stack.imgur.com/9tE32s.png Medium: http://i.stack.imgur.com/9tE32m.png Large: http://i.stack.imgur.com/9tE32l.png


38

Since I think I count as the "powers-that-be": Imgur's "normal" terms of service do not apply to pictures you upload through Stack Exchange. As far as rights go, your deal is with us, and is subject to our terms of service, privacy policy, and cc-wiki content license. That means that the images you upload are covered under our "attribution required" ...


34

Nice work on finally bringing HTTPS support in! I want to note something on point 4 (emphasis mine): Rebake remaining posts with HTTP images, so that images linking to HTTP addresses will become links - most of those are dead anyway. If most of those links are dead anyway, why not go through the hassle once and check if they are actually dead or not. If ...


34

To give an idea of the extent of this problem: according to this stackexchange.com search, over 8000 posts are affected. Some of them may contain images which are already lost (e.g. the last image in the Meta.SE post you found). There are some options: Edit the post and upload the images via the Stack Exchange image uploader, which stores them on imgur.com....


32

I completely support banning ImageShack images in new posts. The fact that it's an unreliable image host would be reason enough in itself, but the replacement of images by ads just adds insult to injury. If implemented in the same way as most content bans on SE, this would presumably mean that trying to post a question or an answer containing an image ...


30

While you can’t directly upload an SVG image, if you can host it somewhere else, you can still display it in your post using HTML like <img src="https://example.com/url/to/your/image.svg"/> (note - you need to use https:// for this to work). For example, take this US map here from Wikimedia Commons See this post for other examples of what you can do.


29

We examined this issue and decided that on most sites, the restriction is doing more harm than good. The restriction has therefore simply been removed on all sites except Stack Overflow, Server Fault, Ask Ubuntu and Super User. We may revisit this list if we notice, or the moderators inform us of, unexpected issues. The default for newly created sites is ...


29

You can also add a query string like ?s=xyz (with xyz = 16, 32, 64, 128, 256 or 512) after the name of the image to change it from gSpBi.png to (eg) gSpBi.png?s=128. I.e I just added the query string ?s=128 right after .png. Attention: sometimes part of the top and bottom are not shown (I think it depends a bit on the actual image you're using). Some ...


28

My process for answering a code-related question often involves: Copy and paste the OP's code into a sandbox on my machine. Debug the code. Copy and paste my code back into the answer. If my answer helps, I assume the OP will copy and paste my code into their environment. (And hopefully modify it to serve their needs with their new-found knowledge.) ...


27

I'd support this if Imgur added support for SVG images and removed the size limit from PNG images (or at least raised it to something more reasonable than 1 MB). Until that happens, though, there are sometimes valid reasons not to use Imgur. (I guess I could be OK with this if Wikimedia Commons was also whitelisted as an allowed image source. They do ...


26

A few days ago (February 2011), a new image upload is being tested on Meta, adding support for paste and drag-and-drop: However, this does not support direct paste or drag-and-drop into the edit page; one first needs to click the "Image" button (Ctrl+G) to show the upload dialog. In June 2015, this new dialog was implemented:


26

status-completed Something that will be awesome for me is pressing CTRL+V inside the editor while there is an image in the clipboard, and that would automagically open the uploader and paste the image in there. This will save me so many clicks... :)


25

It's an accessibility issue for 2 reasons: Screen readers cannot read text in pictures. Text is often blurry in zoomed-in images. I encourage you to use a screen reader and try it out. I will also provide an illustration of zoomed-in text. When someone zooms-in on an image, here is an example of what they might see: Zooming-in on text as part of an image: ...


24

If the image is above the max size (current 2 MiB), automatically resize (or change compression) to the largest image possible, or close to it.


24

Is the image above inclusive of ethnicities? I'd say yes, it is. I'm not going to say it covers all, since that'd be nearly impossible for a group of 9 people and a robot arm, but yeah, there's differences that can be seen in the skin color outlines, so at least an attempt was made and succeeded, as far as I'm concerned. I see already three that have ...


23

I have edited this post and uploaded the image to our image provider. I have also blocked freeimagehosting.net via our blacklist for now to prevent any future issues.


23

I'd agree that from a privacy standpoint, banning users hosting images on servers they control would be beneficial. In the DMZ it's been a long standing acknowledgement that people's locations can be uncovered in this way (well apart obviously from users using things like Tor) unless the user default blocks image loads. So restricting image links (or ...


23

So, it's art, it's open to interpretation. I looked at this before we used it and I saw diversity in gender, accessibility and color: I saw a brown person there, even though the people were done mostly abstract. I was also happy to see that someone with a disability (and depicted as much older) was also included in the group. I'm 42 and disabled, so .. ...


22

If it helps anyone else here is one more hack that would make a post readable when referencing large images: In the description you will have this to reference an image [![My App TouchID authentication][2]][4] At the bottom of the page I have defined 2 images, one was automatically created when I uploaded the image and the second one I created [2]: http:/...


22

You can use <img> tag to place the image and control its size: <img src="{link to image}" width="{width}" height="{height}" /> Optionally, you can also leave out either height or width (but not both) to proportionally set the other value. <img src="{link to image}" width="{width}" /> Examples Resized to 200 by 200 in <img>: <...


22

There are several reasons, as far as I am concerned: Images of code can be very hard to read. Especially if a person takes a picture of a screen with a phone. It can be very difficult to cipher one's way through it. Images of code frequently chop out bits of material. Not all terminals have a good wrap function, and even the ones that do often make it ...


21

We haven't implemented an overlay (the community was more divided on this), but from now on, the image uploader automatically wraps images in a link to themselves, which looks like this and should make your life easier: [![enter image description here][1]][1] Balpha is to thank for this change.


21

If you remove this restriction, you add another tool for users that want to troll the site. Being able to post NSFW images of all kinds could cause a lot of trouble. There are all kinds of images floating around the internet that you regret ever looking at, I think it could be a bit too dangerous to allow any user to plaster those across the site. This is a ...


21

I usually do all my post-processing in GIMP, so I have a single request for this: Don't force features upon me. Don't turn our image uploader into a ten-step thing like Gravatar's, where you upload your image then get to rotate it, then crop it, then do whatever else. It should take me fewer than five clicks to upload an image, and that includes selecting ...


21

This bug is very annoying when trying to create or fix posts with overlarge images. We used to be able to display a reasonably shrunk picture that linked to the full size one. Here's a temporary workaround until this bug is fixed: Refer to the allowed HTML FAQ. Use markup like: [<img src="https://i.stack.imgur.com/MJrvX.png" width="320" height="30" ...


Only top voted, non community-wiki answers of a minimum length are eligible