Response [200 Ok]

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

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

Uri /api/v2/image/hHPR5PX-0!sizedetails
UriDescription Detailed size information for image
ImageSizeLarge
Array [6]
Ext jpg
Height 600
Size 90438
Url https://photos.smugmug.com/photos/i-hHPR5PX/0/L/i-hHPR5PX-L.jpg
Watermarked false
Width 600
ImageSizeMedium
Array [6]
Ext jpg
Height 450
Size 57241
Url https://photos.smugmug.com/photos/i-hHPR5PX/0/M/i-hHPR5PX-M.jpg
Watermarked false
Width 450
ImageSizeOriginal
Array [6]
Ext jpg
Height 2048
Size 2114755
Url https://photos.smugmug.com/photos/i-hHPR5PX/0/O/i-hHPR5PX.jpg
Watermarked false
Width 2048
ImageSizeSmall
Array [6]
Ext jpg
Height 300
Size 29877
Url https://photos.smugmug.com/photos/i-hHPR5PX/0/S/i-hHPR5PX-S.jpg
Watermarked false
Width 300
ImageSizeThumb
Array [6]
Ext jpg
Height 150
Size 12325
Url https://photos.smugmug.com/photos/i-hHPR5PX/0/Th/i-hHPR5PX-Th.jpg
Watermarked false
Width 150
ImageSizeTiny
Array [6]
Ext jpg
Height 100
Size 8885
Url https://photos.smugmug.com/photos/i-hHPR5PX/0/Ti/i-hHPR5PX-Ti.jpg
Watermarked false
Width 100
ImageSizeX2Large
Array [6]
Ext jpg
Height 960
Size 209769
Url https://photos.smugmug.com/photos/i-hHPR5PX/0/X2/i-hHPR5PX-X2.jpg
Watermarked false
Width 960
ImageSizeX3Large
Array [6]
Ext jpg
Height 1200
Size 634309
Url https://photos.smugmug.com/photos/i-hHPR5PX/0/X3/i-hHPR5PX-X3.jpg
Watermarked false
Width 1200
ImageSizeX4Large
Array [6]
Ext jpg
Height 2048
Size 2091775
Url https://photos.smugmug.com/photos/i-hHPR5PX/0/X4/i-hHPR5PX-X4.jpg
Watermarked false
Width 2048
ImageSizeXLarge
Array [6]
Ext jpg
Height 768
Size 144592
Url https://photos.smugmug.com/photos/i-hHPR5PX/0/XL/i-hHPR5PX-XL.jpg
Watermarked false
Width 768
ImageUrlTemplate https://photos.smugmug.com/photos/i-hHPR5PX/0/#size#/i-hHPR5PX-#size#.jpg
UsableSizes
Array [10]
0 ImageSizeTiny
1 ImageSizeThumb
2 ImageSizeSmall
3 ImageSizeMedium
4 ImageSizeLarge
5 ImageSizeXLarge
6 ImageSizeX2Large
7 ImageSizeX3Large
8 ImageSizeX4Large
9 ImageSizeOriginal

Timing

Total

cycles 1
objects 0
time 0.04271

Request

Uri /api/v2/image/hHPR5PX-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/hHPR5PX-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": "hHPR5PX-0"
            },
            {
                "type": "action",
                "text": "sizedetails"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/image/hHPR5PX-0!sizedetails",
        "Locator": "ImageSizeDetails",
        "LocatorType": "Object",
        "ImageSizeDetails": {
            "ImageUrlTemplate": "https://photos.smugmug.com/photos/i-hHPR5PX/0/#size#/i-hHPR5PX-#size#.jpg",
            "UsableSizes": [
                "ImageSizeTiny",
                "ImageSizeThumb",
                "ImageSizeSmall",
                "ImageSizeMedium",
                "ImageSizeLarge",
                "ImageSizeXLarge",
                "ImageSizeX2Large",
                "ImageSizeX3Large",
                "ImageSizeX4Large",
                "ImageSizeOriginal"
            ],
            "ImageSizeTiny": {
                "Url": "https://photos.smugmug.com/photos/i-hHPR5PX/0/Ti/i-hHPR5PX-Ti.jpg",
                "Ext": "jpg",
                "Height": 100,
                "Width": 100,
                "Size": 8885,
                "Watermarked": false
            },
            "ImageSizeThumb": {
                "Url": "https://photos.smugmug.com/photos/i-hHPR5PX/0/Th/i-hHPR5PX-Th.jpg",
                "Ext": "jpg",
                "Height": 150,
                "Width": 150,
                "Size": 12325,
                "Watermarked": false
            },
            "ImageSizeSmall": {
                "Url": "https://photos.smugmug.com/photos/i-hHPR5PX/0/S/i-hHPR5PX-S.jpg",
                "Ext": "jpg",
                "Height": 300,
                "Width": 300,
                "Size": 29877,
                "Watermarked": false
            },
            "ImageSizeMedium": {
                "Url": "https://photos.smugmug.com/photos/i-hHPR5PX/0/M/i-hHPR5PX-M.jpg",
                "Ext": "jpg",
                "Height": 450,
                "Width": 450,
                "Size": 57241,
                "Watermarked": false
            },
            "ImageSizeLarge": {
                "Url": "https://photos.smugmug.com/photos/i-hHPR5PX/0/L/i-hHPR5PX-L.jpg",
                "Ext": "jpg",
                "Height": 600,
                "Width": 600,
                "Size": 90438,
                "Watermarked": false
            },
            "ImageSizeXLarge": {
                "Url": "https://photos.smugmug.com/photos/i-hHPR5PX/0/XL/i-hHPR5PX-XL.jpg",
                "Ext": "jpg",
                "Height": 768,
                "Width": 768,
                "Size": 144592,
                "Watermarked": false
            },
            "ImageSizeX2Large": {
                "Url": "https://photos.smugmug.com/photos/i-hHPR5PX/0/X2/i-hHPR5PX-X2.jpg",
                "Ext": "jpg",
                "Height": 960,
                "Width": 960,
                "Size": 209769,
                "Watermarked": false
            },
            "ImageSizeX3Large": {
                "Url": "https://photos.smugmug.com/photos/i-hHPR5PX/0/X3/i-hHPR5PX-X3.jpg",
                "Ext": "jpg",
                "Height": 1200,
                "Width": 1200,
                "Size": 634309,
                "Watermarked": false
            },
            "ImageSizeX4Large": {
                "Url": "https://photos.smugmug.com/photos/i-hHPR5PX/0/X4/i-hHPR5PX-X4.jpg",
                "Ext": "jpg",
                "Height": 2048,
                "Width": 2048,
                "Size": 2091775,
                "Watermarked": false
            },
            "ImageSizeOriginal": {
                "Url": "https://photos.smugmug.com/photos/i-hHPR5PX/0/O/i-hHPR5PX.jpg",
                "Ext": "jpg",
                "Height": 2048,
                "Width": 2048,
                "Size": 2114755,
                "Watermarked": false
            },
            "Uri": "/api/v2/image/hHPR5PX-0!sizedetails",
            "UriDescription": "Detailed size information for image"
        },
        "UriDescription": "Detailed size information for image",
        "EndpointType": "ImageSizeDetails",
        "Timing": {
            "Total": {
                "time": 0.04271,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}