Response [200 Ok]

Uri /api/v2/image/mtRBrnn-0!sizedetails
UriDescription Detailed size information for image
EndpointType ImageSizeDetails
Locator ImageSizeDetails
LocatorType Object

ImageSizeDetails [1 of 1]
/api/v2/image/mtRBrnn-0!sizedetails

Uri /api/v2/image/mtRBrnn-0!sizedetails
UriDescription Detailed size information for image
ImageSize4K
Array [6]
Ext jpg
Height 3840
Size 6830638
Url https://photos.smugmug.com/photos/i-mtRBrnn/0/4K/i-mtRBrnn-4K.jpg
Watermarked false
Width 2560
ImageSizeLarge
Array [6]
Ext jpg
Height 600
Size 103024
Url https://photos.smugmug.com/photos/i-mtRBrnn/0/L/i-mtRBrnn-L.jpg
Watermarked false
Width 400
ImageSizeMedium
Array [6]
Ext jpg
Height 450
Size 68447
Url https://photos.smugmug.com/photos/i-mtRBrnn/0/M/i-mtRBrnn-M.jpg
Watermarked false
Width 300
ImageSizeSmall
Array [6]
Ext jpg
Height 300
Size 36663
Url https://photos.smugmug.com/photos/i-mtRBrnn/0/S/i-mtRBrnn-S.jpg
Watermarked false
Width 200
ImageSizeThumb
Array [6]
Ext jpg
Height 150
Size 20090
Url https://photos.smugmug.com/photos/i-mtRBrnn/0/Th/i-mtRBrnn-Th.jpg
Watermarked false
Width 150
ImageSizeTiny
Array [6]
Ext jpg
Height 100
Size 12872
Url https://photos.smugmug.com/photos/i-mtRBrnn/0/Ti/i-mtRBrnn-Ti.jpg
Watermarked false
Width 100
ImageSizeX2Large
Array [6]
Ext jpg
Height 960
Size 223982
Url https://photos.smugmug.com/photos/i-mtRBrnn/0/X2/i-mtRBrnn-X2.jpg
Watermarked false
Width 640
ImageSizeX3Large
Array [6]
Ext jpg
Height 1200
Size 330610
Url https://photos.smugmug.com/photos/i-mtRBrnn/0/X3/i-mtRBrnn-X3.jpg
Watermarked false
Width 800
ImageSizeX4Large
Array [6]
Ext jpg
Height 2048
Size 896663
Url https://photos.smugmug.com/photos/i-mtRBrnn/0/X4/i-mtRBrnn-X4.jpg
Watermarked false
Width 1365
ImageSizeX5Large
Array [6]
Ext jpg
Height 2560
Size 1452363
Url https://photos.smugmug.com/photos/i-mtRBrnn/0/X5/i-mtRBrnn-X5.jpg
Watermarked false
Width 1707
ImageSizeXLarge
Array [6]
Ext jpg
Height 768
Size 154352
Url https://photos.smugmug.com/photos/i-mtRBrnn/0/XL/i-mtRBrnn-XL.jpg
Watermarked false
Width 512
ImageUrlTemplate https://photos.smugmug.com/photos/i-mtRBrnn/0/#size#/i-mtRBrnn-#size#.jpg
UsableSizes
Array [11]
0 ImageSizeTiny
1 ImageSizeThumb
2 ImageSizeSmall
3 ImageSizeMedium
4 ImageSizeLarge
5 ImageSizeXLarge
6 ImageSizeX2Large
7 ImageSizeX3Large
8 ImageSizeX4Large
9 ImageSizeX5Large
10 ImageSize4K

Timing

Total

cycles 1
objects 0
time 0.03407

Config

{
    "expand_method": "ref",
    "shorturis": false
}

Options

Path

  • /api
  • /v2
  • /image
  • /
  • !sizedetails

Methods

OPTIONS

Permissions
  • Read

GET

Permissions
  • Read

Parameters

GET

Image sizes to prefetch to the CDN.

Output Fields

ImageSize4K
ImageSize5K
ImageSizeLarge
ImageSizeMedium
ImageSizeOriginal
ImageSizeSmall
ImageSizeThumb
ImageSizeTiny
ImageSizeX2Large
ImageSizeX3Large
ImageSizeX4Large
ImageSizeX5Large
ImageSizeXLarge
ImageUrlTemplate
UsableSizes
VideoSMIL
VideoSize110
VideoSize1280
VideoSize1920
VideoSize200
VideoSize320
VideoSize640
VideoSize960 Deprecated as of 2018-03-27 Use VideoSize1280 instead
VideoUrlTemplate

JSON

{
    "Request": {
        "Version": "v2",
        "Method": "GET",
        "Uri": "/api/v2/image/mtRBrnn-0!sizedetails?_accept=text%2Fhtml"
    },
    "Options": {
        "MethodDetails": {
            "OPTIONS": {
                "Permissions": [
                    "Read"
                ]
            },
            "GET": {
                "Permissions": [
                    "Read"
                ]
            }
        },
        "Methods": [
            "OPTIONS",
            "GET"
        ],
        "ParameterDescription": {
            "Array": "An indexed array of values with a length in the range MIN_COUNT to MAX_COUNT, inclusive."
        },
        "Parameters": {
            "GET": [
                {
                    "Name": "PrefetchSizes",
                    "Required": false,
                    "ReadOnly": false,
                    "Default": null,
                    "Description": "Image sizes to prefetch to the CDN.",
                    "Type": "Array",
                    "ITEM_TYPE": "Varchar",
                    "MIN_COUNT": 0,
                    "MAX_COUNT": "INFINITY"
                }
            ]
        },
        "MediaTypes": [
            "application/json",
            "application/vnd.php.serialized",
            "application/x-msgpack",
            "text/html",
            "text/csv"
        ],
        "Output": [
            {
                "Name": "ImageUrlTemplate"
            },
            {
                "Name": "VideoUrlTemplate"
            },
            {
                "Name": "UsableSizes"
            },
            {
                "Name": "ImageSizeTiny"
            },
            {
                "Name": "ImageSizeThumb"
            },
            {
                "Name": "ImageSizeSmall"
            },
            {
                "Name": "ImageSizeMedium"
            },
            {
                "Name": "ImageSizeLarge"
            },
            {
                "Name": "ImageSizeXLarge"
            },
            {
                "Name": "ImageSizeX2Large"
            },
            {
                "Name": "ImageSizeX3Large"
            },
            {
                "Name": "ImageSizeX4Large"
            },
            {
                "Name": "ImageSizeX5Large"
            },
            {
                "Name": "ImageSize4K"
            },
            {
                "Name": "ImageSize5K"
            },
            {
                "Name": "ImageSizeOriginal"
            },
            {
                "Name": "VideoSize1920"
            },
            {
                "Name": "VideoSize1280"
            },
            {
                "Name": "VideoSize960",
                "Description": "Use VideoSize1280 instead",
                "Deprecated": "2018-03-27"
            },
            {
                "Name": "VideoSize640"
            },
            {
                "Name": "VideoSize320"
            },
            {
                "Name": "VideoSize200"
            },
            {
                "Name": "VideoSize110"
            },
            {
                "Name": "VideoSMIL"
            }
        ],
        "Path": [
            {
                "type": "path",
                "text": "api"
            },
            {
                "type": "path",
                "text": "v2"
            },
            {
                "type": "path",
                "text": "image"
            },
            {
                "type": "singleparam",
                "param_name": "imagekey",
                "param_value": "mtRBrnn-0"
            },
            {
                "type": "action",
                "text": "sizedetails"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/image/mtRBrnn-0!sizedetails",
        "Locator": "ImageSizeDetails",
        "LocatorType": "Object",
        "ImageSizeDetails": {
            "ImageUrlTemplate": "https://photos.smugmug.com/photos/i-mtRBrnn/0/#size#/i-mtRBrnn-#size#.jpg",
            "UsableSizes": [
                "ImageSizeTiny",
                "ImageSizeThumb",
                "ImageSizeSmall",
                "ImageSizeMedium",
                "ImageSizeLarge",
                "ImageSizeXLarge",
                "ImageSizeX2Large",
                "ImageSizeX3Large",
                "ImageSizeX4Large",
                "ImageSizeX5Large",
                "ImageSize4K"
            ],
            "ImageSizeTiny": {
                "Url": "https://photos.smugmug.com/photos/i-mtRBrnn/0/Ti/i-mtRBrnn-Ti.jpg",
                "Ext": "jpg",
                "Height": 100,
                "Width": 100,
                "Size": 12872,
                "Watermarked": false
            },
            "ImageSizeThumb": {
                "Url": "https://photos.smugmug.com/photos/i-mtRBrnn/0/Th/i-mtRBrnn-Th.jpg",
                "Ext": "jpg",
                "Height": 150,
                "Width": 150,
                "Size": 20090,
                "Watermarked": false
            },
            "ImageSizeSmall": {
                "Url": "https://photos.smugmug.com/photos/i-mtRBrnn/0/S/i-mtRBrnn-S.jpg",
                "Ext": "jpg",
                "Height": 300,
                "Width": 200,
                "Size": 36663,
                "Watermarked": false
            },
            "ImageSizeMedium": {
                "Url": "https://photos.smugmug.com/photos/i-mtRBrnn/0/M/i-mtRBrnn-M.jpg",
                "Ext": "jpg",
                "Height": 450,
                "Width": 300,
                "Size": 68447,
                "Watermarked": false
            },
            "ImageSizeLarge": {
                "Url": "https://photos.smugmug.com/photos/i-mtRBrnn/0/L/i-mtRBrnn-L.jpg",
                "Ext": "jpg",
                "Height": 600,
                "Width": 400,
                "Size": 103024,
                "Watermarked": false
            },
            "ImageSizeXLarge": {
                "Url": "https://photos.smugmug.com/photos/i-mtRBrnn/0/XL/i-mtRBrnn-XL.jpg",
                "Ext": "jpg",
                "Height": 768,
                "Width": 512,
                "Size": 154352,
                "Watermarked": false
            },
            "ImageSizeX2Large": {
                "Url": "https://photos.smugmug.com/photos/i-mtRBrnn/0/X2/i-mtRBrnn-X2.jpg",
                "Ext": "jpg",
                "Height": 960,
                "Width": 640,
                "Size": 223982,
                "Watermarked": false
            },
            "ImageSizeX3Large": {
                "Url": "https://photos.smugmug.com/photos/i-mtRBrnn/0/X3/i-mtRBrnn-X3.jpg",
                "Ext": "jpg",
                "Height": 1200,
                "Width": 800,
                "Size": 330610,
                "Watermarked": false
            },
            "ImageSizeX4Large": {
                "Url": "https://photos.smugmug.com/photos/i-mtRBrnn/0/X4/i-mtRBrnn-X4.jpg",
                "Ext": "jpg",
                "Height": 2048,
                "Width": 1365,
                "Size": 896663,
                "Watermarked": false
            },
            "ImageSizeX5Large": {
                "Url": "https://photos.smugmug.com/photos/i-mtRBrnn/0/X5/i-mtRBrnn-X5.jpg",
                "Ext": "jpg",
                "Height": 2560,
                "Width": 1707,
                "Size": 1452363,
                "Watermarked": false
            },
            "ImageSize4K": {
                "Url": "https://photos.smugmug.com/photos/i-mtRBrnn/0/4K/i-mtRBrnn-4K.jpg",
                "Ext": "jpg",
                "Height": 3840,
                "Width": 2560,
                "Size": 6830638,
                "Watermarked": false
            },
            "Uri": "/api/v2/image/mtRBrnn-0!sizedetails",
            "UriDescription": "Detailed size information for image"
        },
        "UriDescription": "Detailed size information for image",
        "EndpointType": "ImageSizeDetails",
        "Timing": {
            "Total": {
                "time": 0.03407,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}