I often find myself in the situation that I have to resize pictures that are part of my answer or question. My current workflow is that I upload the picture via the usual method and then copy the URL of the uploaded picture into the following html snippet, <img src="https://i.stack.imgur.com/image.png" height="200">, which then replaces the automatically created placeholders. That method works well enough, but it involves some extra copying and pasting, so I was wondering if there is a better method out there - possible one that works with the standard picture-uploading-mechanism of this site.

  • $\begingroup$ Someone (maybe even our very own Manish?) used to have userscripts that allowed you to specify size of the upload. I'm not sure what the status of those scripts is today. $\endgroup$
    – jonsca
    Apr 24, 2014 at 20:48
  • $\begingroup$ @jonsca yep, it was me, but I don't know if it works right now and have academics/FOSS stuff to deal with so I can't fix it now (stackapps.com/questions/3507/thumbnail-uploader) $\endgroup$ Apr 27, 2014 at 23:26
  • $\begingroup$ A compreshensive answer for future visitors is avaiable in a community wiki on formatting: chemistry.meta.stackexchange.com/a/3048/23561 $\endgroup$
    – A.K.
    Mar 25, 2019 at 3:33

1 Answer 1


Just append s,l, or m to the filename if it's on Imgur:


enter image description here


enter link description here


enter link description here

I also wrote this script that lets you upload an image, auto-thumbnail it, and link to the original, though I'm not sure if it works anymore since they changed the image upload system. I'll look into this in the summer.

  • $\begingroup$ Thanks, that should work in most cases. If I encounter any problem where this isn't enough, I can still fall back on using my html solution. $\endgroup$
    – Philipp
    Apr 27, 2014 at 23:33

You must log in to answer this question.

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