Response [200 Ok]

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

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

Uri /api/v2/image/6vVPccK-0!sizedetails
UriDescription Detailed size information for image
ImageSizeLarge
ImageSizeMedium
ImageSizeSmall
ImageSizeThumb
ImageSizeTiny
ImageSizeX2Large
ImageSizeX3Large
ImageSizeXLarge
ImageUrlTemplate https://photos.smugmug.com/Maine/Portland/i-6vVPccK/0/#size#/DSC_5507HDR-#size#.jpg
LargestImageSize ImageSizeX3Large
UsableSizes
Array [8]
0 ImageSizeTiny
1 ImageSizeThumb
2 ImageSizeSmall
3 ImageSizeMedium
4 ImageSizeLarge
5 ImageSizeXLarge
6 ImageSizeX2Large
7 ImageSizeX3Large

Uris

ImageSizeCustom
/api/v2/image/6vVPccK-0!sizecustom

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

Timing

Total

cycles 1
objects 0
time 0.08033

Request

Uri /api/v2/image/6vVPccK-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 Deprecated as of 2024-03-01 Use specific sizes or the ImageSizeCustom action instead.
UsableSizes
VideoSMIL
VideoSize110
VideoSize1280
VideoSize1920
VideoSize200
VideoSize320
VideoSize640
VideoSize960 Deprecated as of 2018-03-27 Use VideoSize1280 instead
VideoUrlTemplate Deprecated as of 2024-03-01 Use specific sizes or the ImageSizeCustom action instead.

JSON

{
    "Request": {
        "Version": "v2",
        "Method": "GET",
        "Uri": "/api/v2/image/6vVPccK-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",
                "Description": "Use specific sizes or the ImageSizeCustom action instead.",
                "Deprecated": "2024-03-01"
            },
            {
                "Name": "VideoUrlTemplate",
                "Description": "Use specific sizes or the ImageSizeCustom action instead.",
                "Deprecated": "2024-03-01"
            },
            {
                "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": "6vVPccK-0",
                "param_validator": {}
            },
            {
                "type": "action",
                "text": "sizedetails"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/image/6vVPccK-0!sizedetails",
        "Locator": "ImageSizeDetails",
        "LocatorType": "Object",
        "ImageSizeDetails": {
            "ImageUrlTemplate": "https://photos.smugmug.com/Maine/Portland/i-6vVPccK/0/#size#/DSC_5507HDR-#size#.jpg",
            "UsableSizes": [
                "ImageSizeTiny",
                "ImageSizeThumb",
                "ImageSizeSmall",
                "ImageSizeMedium",
                "ImageSizeLarge",
                "ImageSizeXLarge",
                "ImageSizeX2Large",
                "ImageSizeX3Large"
            ],
            "LargestImageSize": "ImageSizeX3Large",
            "ImageSizeTiny": {
                "Url": "https://photos.smugmug.com/Maine/Portland/i-6vVPccK/0/MTkcwKfbS27rLVdwzXLfLcP4CthcN2jxsw4Rdd3jK/Ti/DSC_5507HDR-Ti.jpg",
                "Ext": "jpg",
                "Height": 67,
                "Width": 100,
                "Size": 8817
            },
            "ImageSizeThumb": {
                "Url": "https://photos.smugmug.com/Maine/Portland/i-6vVPccK/0/MkRn3pHtssZ3C7Hdcs2CCQjz2F2Sr7RgFX4FXMWdz/Th/DSC_5507HDR-Th.jpg",
                "Ext": "jpg",
                "Height": 100,
                "Width": 150,
                "Size": 13451
            },
            "ImageSizeSmall": {
                "Url": "https://photos.smugmug.com/Maine/Portland/i-6vVPccK/0/M9c3j6HtkZjCSnNvpspBbnks4nL6bnWFZTBfdmS9R/S/DSC_5507HDR-S.jpg",
                "Ext": "jpg",
                "Height": 267,
                "Width": 400,
                "Size": 60623
            },
            "ImageSizeMedium": {
                "Url": "https://photos.smugmug.com/Maine/Portland/i-6vVPccK/0/MWPDQDbLDSgg63zXkmJ8C5dW9RqVnNMHhfSsKJQQ6/M/DSC_5507HDR-M.jpg",
                "Ext": "jpg",
                "Height": 400,
                "Width": 600,
                "Size": 116589
            },
            "ImageSizeLarge": {
                "Url": "https://photos.smugmug.com/Maine/Portland/i-6vVPccK/0/KZ4D7FSqxLrRP3CvF6rtGcXR9cmM8Pxm655LczwvH/L/DSC_5507HDR-L.jpg",
                "Ext": "jpg",
                "Height": 533,
                "Width": 800,
                "Size": 186058
            },
            "ImageSizeXLarge": {
                "Url": "https://photos.smugmug.com/Maine/Portland/i-6vVPccK/0/LdDSCbPdt6NLdqP5LNFvk9xcSBK9msrvP6CvM5kGc/XL/DSC_5507HDR-XL.jpg",
                "Ext": "jpg",
                "Height": 682,
                "Width": 1023,
                "Size": 283844
            },
            "ImageSizeX2Large": {
                "Url": "https://photos.smugmug.com/Maine/Portland/i-6vVPccK/0/KrGCsSZ3Xhvxt2VBhcdhnsHF4k56c2D79rNPd65xG/X2/DSC_5507HDR-X2.jpg",
                "Ext": "jpg",
                "Height": 853,
                "Width": 1280,
                "Size": 400265
            },
            "ImageSizeX3Large": {
                "Url": "https://photos.smugmug.com/Maine/Portland/i-6vVPccK/0/KjMXDjGXM3zJSd6x9PJr2HmbSnHHXRjBGpPzgKghv/X3/DSC_5507HDR-X3.jpg",
                "Ext": "jpg",
                "Height": 1066,
                "Width": 1600
            },
            "Uri": "/api/v2/image/6vVPccK-0!sizedetails",
            "UriDescription": "Detailed size information for image",
            "Uris": {
                "ImageSizeCustom": {
                    "Uri": "/api/v2/image/6vVPccK-0!sizecustom",
                    "Locator": "ImageSizeCustom",
                    "LocatorType": "Object",
                    "UriDescription": "Image size: custom",
                    "EndpointType": "ImageSizeCustom"
                }
            }
        },
        "UriDescription": "Detailed size information for image",
        "EndpointType": "ImageSizeDetails",
        "Timing": {
            "Total": {
                "time": 0.08033,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}