There's a rather large image in a Stack Overflow post that I'd like to replace with its thumbnail and a link to the full-size image.

I know Imgur generates thumbnails for its images when you upload, but since I'm not the original uploader, is there any way for me to find the thumbnail image by URL hackery or some such?


3 Answers 3


I can't actually find it documented anywhere, but I uploaded an image and played with the "More Sizes" list:



I haven't included the image inline, because StackExchange would automatically scale it down. To view the original at its full size, click the link.

Large thumbnail

https://i.sstatic.net/YdJZtl.jpg (added an l after the image ID)

Small square

https://i.sstatic.net/YdJZts.jpg (added an s after the image ID)

It doesn't always handle transparency well, but "small square" is probably what you want.

Image by digitalART2, licensed under CC-BY-2.0, available here.


There are 6 total thumbnails that an image can be resized to. Each one is accessable by appending a single character suffix to the end of the image ID, and before the file extension.

For example, the image located at https://i.sstatic.net/L0oPW.gif has the Medium Thumbnail located at http://i.imgur.com/12345m.jpg

The thumbnails are:

  • s = Small Square (90x90)
  • b = Big Square (160x160)
  • t = Small Thumbnail (160x160)
  • m = Medium Thumbnail (320x320)
  • l = Large Thumbnail (640x640)
  • h = Huge Thumbnail (1024x1024)

Source: Imgur API.

  • 3
    The images you linked to are no longer available.
    – Alex
    Commented Aug 14, 2013 at 8:06

FYI for anyone looking for the original link on imgur's API docs


  • 1
    This was already linked by DmitrySandalov.
    – mmyers
    Commented Feb 15, 2014 at 21:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.