How can you thumbnail an uploaded image on Stack Overflow?
What is meta?
- Any Stack Exchange user can ask a question
- The community provides support, votes on ideas, and reports bugs
- Your voice helps shape the way Stack Exchange operates
Images embedded in your post are already displayed to be 640 pixels wide on the regular site, or 90% on the mobile site, to fit the page layout. If that's not enough, or if you want to reduce the download file size too, you have a couple options:
imgur's thumbnail feature
If you uploaded your image via the editor's upload function, you can let imgur do the work for you. (If they reside on your own imgur account, this will still work, but you really should use the branded upload.)
You do this by appending a special suffix to the image code.
Consider this cat. It is too big to fit the page, and its URL is
There now is a script that aids you in creating thumbnails:
It adds an improved "upload" dialog:
The large/medium/small options use the imgur hacks described above. The height/width creates an HTML image tag (leaving one blank locks aspect ratio).
And, of course, there's a "link to full size" option for thumbnailing.