Response [200 Ok]

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

ImageSizeDetails [1 of 1]
/api/v2/image/2JQJnB4-2!sizedetails

Uri /api/v2/image/2JQJnB4-2!sizedetails
UriDescription Detailed size information for image
ImageSizeOriginal
Array [6]
Ext jpg
Height 390
Size 113791
Url https://photos.smugmug.com/photos/i-2JQJnB4/2/O/i-2JQJnB4.jpg
Watermarked false
Width 546
ImageSizeSmall
Array [6]
Ext jpg
Height 286
Size 34903
Url https://photos.smugmug.com/photos/i-2JQJnB4/2/S/i-2JQJnB4-S.jpg
Watermarked false
Width 400
ImageSizeThumb
Array [6]
Ext jpg
Height 107
Size 8179
Url https://photos.smugmug.com/photos/i-2JQJnB4/2/Th/i-2JQJnB4-Th.jpg
Watermarked false
Width 150
ImageSizeTiny
Array [6]
Ext jpg
Height 71
Size 6390
Url https://photos.smugmug.com/photos/i-2JQJnB4/2/Ti/i-2JQJnB4-Ti.jpg
Watermarked false
Width 99
ImageUrlTemplate https://photos.smugmug.com/photos/i-2JQJnB4/2/#size#/i-2JQJnB4-#size#.jpg
LargestImageSize ImageSizeOriginal
UsableSizes
Array [4]
0 ImageSizeTiny
1 ImageSizeThumb
2 ImageSizeSmall
3 ImageSizeOriginal

Uris

ImageSizeCustom
/api/v2/image/2JQJnB4-2!sizecustom

Uri /api/v2/image/2JQJnB4-2!sizecustom
UriDescription Image size: custom
EndpointType ImageSizeCustom
Locator ImageSizeCustom
LocatorType Object

Timing

Total

cycles 1
objects 0
time 0.0437

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/2JQJnB4-2!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": "2JQJnB4-2",
                "param_validator": {}
            },
            {
                "type": "action",
                "text": "sizedetails"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/image/2JQJnB4-2!sizedetails",
        "Locator": "ImageSizeDetails",
        "LocatorType": "Object",
        "ImageSizeDetails": {
            "ImageUrlTemplate": "https://photos.smugmug.com/photos/i-2JQJnB4/2/#size#/i-2JQJnB4-#size#.jpg",
            "UsableSizes": [
                "ImageSizeTiny",
                "ImageSizeThumb",
                "ImageSizeSmall",
                "ImageSizeOriginal"
            ],
            "LargestImageSize": "ImageSizeOriginal",
            "ImageSizeTiny": {
                "Url": "https://photos.smugmug.com/photos/i-2JQJnB4/2/Ti/i-2JQJnB4-Ti.jpg",
                "Ext": "jpg",
                "Height": 71,
                "Width": 99,
                "Size": 6390,
                "Watermarked": false
            },
            "ImageSizeThumb": {
                "Url": "https://photos.smugmug.com/photos/i-2JQJnB4/2/Th/i-2JQJnB4-Th.jpg",
                "Ext": "jpg",
                "Height": 107,
                "Width": 150,
                "Size": 8179,
                "Watermarked": false
            },
            "ImageSizeSmall": {
                "Url": "https://photos.smugmug.com/photos/i-2JQJnB4/2/S/i-2JQJnB4-S.jpg",
                "Ext": "jpg",
                "Height": 286,
                "Width": 400,
                "Size": 34903,
                "Watermarked": false
            },
            "ImageSizeOriginal": {
                "Url": "https://photos.smugmug.com/photos/i-2JQJnB4/2/O/i-2JQJnB4.jpg",
                "Ext": "jpg",
                "Height": 390,
                "Width": 546,
                "Size": 113791,
                "Watermarked": false
            },
            "Uri": "/api/v2/image/2JQJnB4-2!sizedetails",
            "UriDescription": "Detailed size information for image",
            "Uris": {
                "ImageSizeCustom": {
                    "Uri": "/api/v2/image/2JQJnB4-2!sizecustom",
                    "Locator": "ImageSizeCustom",
                    "LocatorType": "Object",
                    "UriDescription": "Image size: custom",
                    "EndpointType": "ImageSizeCustom"
                }
            }
        },
        "UriDescription": "Detailed size information for image",
        "EndpointType": "ImageSizeDetails",
        "Timing": {
            "Total": {
                "time": 0.0437,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}