Response [200 Ok]

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

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

Uri /api/v2/image/5BMCPDT-0!sizedetails
UriDescription Detailed size information for image
ImageSizeLarge
Array [6]
Ext jpg
Height 500
Size 123775
Url https://photos.smugmug.com/photos/i-5BMCPDT/0/L/i-5BMCPDT-L.jpg
Watermarked false
Width 800
ImageSizeMedium
Array [6]
Ext jpg
Height 375
Size 77814
Url https://photos.smugmug.com/photos/i-5BMCPDT/0/M/i-5BMCPDT-M.jpg
Watermarked false
Width 600
ImageSizeSmall
Array [6]
Ext jpg
Height 250
Size 41826
Url https://photos.smugmug.com/photos/i-5BMCPDT/0/S/i-5BMCPDT-S.jpg
Watermarked false
Width 400
ImageSizeThumb
Array [6]
Ext jpg
Height 150
Size 14474
Url https://photos.smugmug.com/photos/i-5BMCPDT/0/Th/i-5BMCPDT-Th.jpg
Watermarked false
Width 150
ImageSizeTiny
Array [6]
Ext jpg
Height 100
Size 9225
Url https://photos.smugmug.com/photos/i-5BMCPDT/0/Ti/i-5BMCPDT-Ti.jpg
Watermarked false
Width 100
ImageSizeX2Large
Array [5]
Ext jpg
Height 800
Url https://photos.smugmug.com/photos/i-5BMCPDT/0/X2/i-5BMCPDT-X2.jpg
Watermarked false
Width 1280
ImageSizeX3Large
Array [5]
Ext jpg
Height 1000
Url https://photos.smugmug.com/photos/i-5BMCPDT/0/X3/i-5BMCPDT-X3.jpg
Watermarked false
Width 1600
ImageSizeX4Large
Array [5]
Ext jpg
Height 1280
Url https://photos.smugmug.com/photos/i-5BMCPDT/0/X4/i-5BMCPDT-X4.jpg
Watermarked false
Width 2048
ImageSizeXLarge
Array [5]
Ext jpg
Height 640
Url https://photos.smugmug.com/photos/i-5BMCPDT/0/XL/i-5BMCPDT-XL.jpg
Watermarked false
Width 1024
ImageUrlTemplate https://photos.smugmug.com/photos/i-5BMCPDT/0/#size#/i-5BMCPDT-#size#.jpg
LargestImageSize ImageSizeX4Large
UsableSizes
Array [9]
0 ImageSizeTiny
1 ImageSizeThumb
2 ImageSizeSmall
3 ImageSizeMedium
4 ImageSizeLarge
5 ImageSizeXLarge
6 ImageSizeX2Large
7 ImageSizeX3Large
8 ImageSizeX4Large

Uris

ImageSizeCustom
/api/v2/image/5BMCPDT-0!sizecustom

Uri /api/v2/image/5BMCPDT-0!sizecustom
UriDescription Image size: custom
EndpointType ImageSizeCustom
Locator ImageSizeCustom
LocatorType Object

Timing

Total

cycles 1
objects 0
time 0.04033

Request

Uri /api/v2/image/5BMCPDT-0!sizedetails
Method GET
Version v2

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/5BMCPDT-0!sizedetails"
    },
    "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": "5BMCPDT-0",
                "param_validator": {}
            },
            {
                "type": "action",
                "text": "sizedetails"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/image/5BMCPDT-0!sizedetails",
        "Locator": "ImageSizeDetails",
        "LocatorType": "Object",
        "ImageSizeDetails": {
            "ImageUrlTemplate": "https://photos.smugmug.com/photos/i-5BMCPDT/0/#size#/i-5BMCPDT-#size#.jpg",
            "UsableSizes": [
                "ImageSizeTiny",
                "ImageSizeThumb",
                "ImageSizeSmall",
                "ImageSizeMedium",
                "ImageSizeLarge",
                "ImageSizeXLarge",
                "ImageSizeX2Large",
                "ImageSizeX3Large",
                "ImageSizeX4Large"
            ],
            "LargestImageSize": "ImageSizeX4Large",
            "ImageSizeTiny": {
                "Url": "https://photos.smugmug.com/photos/i-5BMCPDT/0/Ti/i-5BMCPDT-Ti.jpg",
                "Ext": "jpg",
                "Height": 100,
                "Width": 100,
                "Size": 9225,
                "Watermarked": false
            },
            "ImageSizeThumb": {
                "Url": "https://photos.smugmug.com/photos/i-5BMCPDT/0/Th/i-5BMCPDT-Th.jpg",
                "Ext": "jpg",
                "Height": 150,
                "Width": 150,
                "Size": 14474,
                "Watermarked": false
            },
            "ImageSizeSmall": {
                "Url": "https://photos.smugmug.com/photos/i-5BMCPDT/0/S/i-5BMCPDT-S.jpg",
                "Ext": "jpg",
                "Height": 250,
                "Width": 400,
                "Size": 41826,
                "Watermarked": false
            },
            "ImageSizeMedium": {
                "Url": "https://photos.smugmug.com/photos/i-5BMCPDT/0/M/i-5BMCPDT-M.jpg",
                "Ext": "jpg",
                "Height": 375,
                "Width": 600,
                "Size": 77814,
                "Watermarked": false
            },
            "ImageSizeLarge": {
                "Url": "https://photos.smugmug.com/photos/i-5BMCPDT/0/L/i-5BMCPDT-L.jpg",
                "Ext": "jpg",
                "Height": 500,
                "Width": 800,
                "Size": 123775,
                "Watermarked": false
            },
            "ImageSizeXLarge": {
                "Url": "https://photos.smugmug.com/photos/i-5BMCPDT/0/XL/i-5BMCPDT-XL.jpg",
                "Ext": "jpg",
                "Height": 640,
                "Width": 1024,
                "Watermarked": false
            },
            "ImageSizeX2Large": {
                "Url": "https://photos.smugmug.com/photos/i-5BMCPDT/0/X2/i-5BMCPDT-X2.jpg",
                "Ext": "jpg",
                "Height": 800,
                "Width": 1280,
                "Watermarked": false
            },
            "ImageSizeX3Large": {
                "Url": "https://photos.smugmug.com/photos/i-5BMCPDT/0/X3/i-5BMCPDT-X3.jpg",
                "Ext": "jpg",
                "Height": 1000,
                "Width": 1600,
                "Watermarked": false
            },
            "ImageSizeX4Large": {
                "Url": "https://photos.smugmug.com/photos/i-5BMCPDT/0/X4/i-5BMCPDT-X4.jpg",
                "Ext": "jpg",
                "Height": 1280,
                "Width": 2048,
                "Watermarked": false
            },
            "Uri": "/api/v2/image/5BMCPDT-0!sizedetails",
            "UriDescription": "Detailed size information for image",
            "Uris": {
                "ImageSizeCustom": {
                    "Uri": "/api/v2/image/5BMCPDT-0!sizecustom",
                    "Locator": "ImageSizeCustom",
                    "LocatorType": "Object",
                    "UriDescription": "Image size: custom",
                    "EndpointType": "ImageSizeCustom"
                }
            }
        },
        "UriDescription": "Detailed size information for image",
        "EndpointType": "ImageSizeDetails",
        "Timing": {
            "Total": {
                "time": 0.04033,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}