Response [200 Ok]

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

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

Uri /api/v2/image/jDgKtwv-0!sizedetails
UriDescription Detailed size information for image
ImageSizeLarge
ImageSizeMedium
ImageSizeOriginal
Array [6]
Ext jpg
Height 2851
Size 2795609
Url https://photos.smugmug.com/photos/i-jDgKtwv/0/O/i-jDgKtwv.jpg
Watermarked false
Width 3413
ImageSizeSmall
ImageSizeThumb
ImageSizeTiny
ImageSizeX2Large
ImageSizeX3Large
Array [5]
Ext jpg
Height 1200
Size 234033
Url https://photos.smugmug.com/photos/i-jDgKtwv/0/X3/i-jDgKtwv-X3.jpg
Width 1436
ImageSizeX4Large
Array [5]
Ext jpg
Height 1711
Size 422779
Url https://photos.smugmug.com/photos/i-jDgKtwv/0/X4/i-jDgKtwv-X4.jpg
Width 2048
ImageSizeX5Large
Array [5]
Ext jpg
Height 2138
Size 1546873
Url https://photos.smugmug.com/photos/i-jDgKtwv/0/X5/i-jDgKtwv-X5.jpg
Width 2559
ImageSizeXLarge
ImageUrlTemplate https://photos.smugmug.com/photos/i-jDgKtwv/0/#size#/i-jDgKtwv-#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 ImageSizeOriginal

Timing

Total

cycles 1
objects 0
time 0.03058

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/jDgKtwv-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": "jDgKtwv-0"
            },
            {
                "type": "action",
                "text": "sizedetails"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/image/jDgKtwv-0!sizedetails",
        "Locator": "ImageSizeDetails",
        "LocatorType": "Object",
        "ImageSizeDetails": {
            "ImageUrlTemplate": "https://photos.smugmug.com/photos/i-jDgKtwv/0/#size#/i-jDgKtwv-#size#.jpg",
            "UsableSizes": [
                "ImageSizeTiny",
                "ImageSizeThumb",
                "ImageSizeSmall",
                "ImageSizeMedium",
                "ImageSizeLarge",
                "ImageSizeXLarge",
                "ImageSizeX2Large",
                "ImageSizeX3Large",
                "ImageSizeX4Large",
                "ImageSizeX5Large",
                "ImageSizeOriginal"
            ],
            "ImageSizeTiny": {
                "Url": "https://photos.smugmug.com/photos/i-jDgKtwv/0/Ti/i-jDgKtwv-Ti.jpg",
                "Ext": "jpg",
                "Height": 100,
                "Width": 100,
                "Size": 9580
            },
            "ImageSizeThumb": {
                "Url": "https://photos.smugmug.com/photos/i-jDgKtwv/0/Th/i-jDgKtwv-Th.jpg",
                "Ext": "jpg",
                "Height": 150,
                "Width": 150,
                "Size": 13565
            },
            "ImageSizeSmall": {
                "Url": "https://photos.smugmug.com/photos/i-jDgKtwv/0/S/i-jDgKtwv-S.jpg",
                "Ext": "jpg",
                "Height": 300,
                "Width": 359,
                "Size": 32712
            },
            "ImageSizeMedium": {
                "Url": "https://photos.smugmug.com/photos/i-jDgKtwv/0/M/i-jDgKtwv-M.jpg",
                "Ext": "jpg",
                "Height": 450,
                "Width": 539,
                "Size": 57364
            },
            "ImageSizeLarge": {
                "Url": "https://photos.smugmug.com/photos/i-jDgKtwv/0/L/i-jDgKtwv-L.jpg",
                "Ext": "jpg",
                "Height": 600,
                "Width": 719,
                "Size": 82612
            },
            "ImageSizeXLarge": {
                "Url": "https://photos.smugmug.com/photos/i-jDgKtwv/0/XL/i-jDgKtwv-XL.jpg",
                "Ext": "jpg",
                "Height": 768,
                "Width": 919,
                "Size": 118898
            },
            "ImageSizeX2Large": {
                "Url": "https://photos.smugmug.com/photos/i-jDgKtwv/0/X2/i-jDgKtwv-X2.jpg",
                "Ext": "jpg",
                "Height": 960,
                "Width": 1149,
                "Size": 160662
            },
            "ImageSizeX3Large": {
                "Url": "https://photos.smugmug.com/photos/i-jDgKtwv/0/X3/i-jDgKtwv-X3.jpg",
                "Ext": "jpg",
                "Height": 1200,
                "Width": 1436,
                "Size": 234033
            },
            "ImageSizeX4Large": {
                "Url": "https://photos.smugmug.com/photos/i-jDgKtwv/0/X4/i-jDgKtwv-X4.jpg",
                "Ext": "jpg",
                "Height": 1711,
                "Width": 2048,
                "Size": 422779
            },
            "ImageSizeX5Large": {
                "Url": "https://photos.smugmug.com/photos/i-jDgKtwv/0/X5/i-jDgKtwv-X5.jpg",
                "Ext": "jpg",
                "Height": 2138,
                "Width": 2559,
                "Size": 1546873
            },
            "ImageSizeOriginal": {
                "Url": "https://photos.smugmug.com/photos/i-jDgKtwv/0/O/i-jDgKtwv.jpg",
                "Ext": "jpg",
                "Height": 2851,
                "Width": 3413,
                "Size": 2795609,
                "Watermarked": false
            },
            "Uri": "/api/v2/image/jDgKtwv-0!sizedetails",
            "UriDescription": "Detailed size information for image"
        },
        "UriDescription": "Detailed size information for image",
        "EndpointType": "ImageSizeDetails",
        "Timing": {
            "Total": {
                "time": 0.03058,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}