Tell me more ×
SmugMug Stack Exchange is a question and answer site for SmugMug developers and end users. It's 100% free, no registration required.

In my application I want to display thumbnail sized images, preview sized images and 'full sized' images, what sizes are available natively from SmugMug and is it possible to request specific image sizes? How do I get the URL for those sizes? What about videos?

share|improve this question

1 Answer

up vote 12 down vote accepted

The 9 sizes of SmugMug:

                         Pixels Wide   Pixels High
Tiny thumbnails (-Ti)    Up to 100     Up to 100
Thumbnails (-Th)         Up to 150     Up to 150
Small (-S)               Up to 400     Up to 300
Medium (-M)              Up to 600     Up to 450
Large (-L)               Up to 800     Up to 600
XLarge (-XL)             Up to 1024    Up to 768
X2Large (-X2)            Up to 1280    Up to 960
X3Large (-X3)            Up to 1600    Up to 1200
Original (-O)            Huge          Huge

You can make any custom size request you like, by changing up the URL like so:

Here is a link to a -S (Small Image): http://behret.smugmug.com/Travel/Africa/i-CskBb8s/0/S/D3S8833-S.jpg

Suppose you needed an image with 277px on the long side, you'd construct the URL this way: http://behret.smugmug.com/Travel/Africa/i-CskBb8s/0/277x277/D3S8833-277x277.jpg

Notes:

  1. there are two places in the URL where you have to put in the custom size.

  2. the custom size images smaller than X3 will be rendered from the X3 image, larger custom sized images will be rendered from the Original and might therefore take longer.

  3. custom sizes are limited by the maximum display size, if it is set to Large and you request custom size image 1400x1400, you will get back the large size 800x600 max image.

More on this help page at SmugMug's site.

share|improve this answer
1  
Good stuff. The only thing I'd add is when making custom size requests, as long as the requested size is < 3XL it will be generated on the server from the 3XL image. If you request a custom size > 3XL then it'll be rendered from the original image, if the image is huge this can take a sec. It may be worth it to just request the 3XL and enlarged it locally. – Shizam Feb 4 '12 at 23:00
Does the custom size URL still respect the size limitation of no original? So if I have an image that is 4000x3000 originally, can someone get to that image using a URL that ends in 4000x4000.jpg? – Bradford Benn Feb 5 '12 at 0:37
1  
Yes Brad, the custom size URL will always respect the max size allowed in the gallery. So if you request a 1500x1500 and the max size alloed in the gallery is -L (800px) that's the max that will be served, 800px. – Andy Williams Feb 5 '12 at 0:42
I always wanted to know what the different sizes meant... Thanks! – PearsonArtPhoto Feb 5 '12 at 2:37
1  
Important to note that you can actually change just the first "S" to "277x277" and we'll "do the right thing" and redirect you to a URL that contains both, and serve the proper image. This will be slightly slower, so you should take the time to get the right one back to use when embedding somewhere, but it does work. – Don MacAskill Feb 9 '12 at 1:14
show 7 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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