"Holds information about the relevant dimensions (screen size, viewport size, image size...) for a given image request."
properties
screenWidth
description
"Width of the screen, in pixels. Depending on the browser, this might be device pixels or CSS pixels, and might or might not be affected by the zoom. Fun!"
required
true
type
"integer"
screenHeight
description
"Height of the screen, in pixels"
required
true
type
"integer"
viewportWidth
description
"Width of the viewport (drawable area of the browser window), in CSS pixels"
required
true
type
"integer"
viewportHeight
description
"Height of the viewport, in pixels"
required
true
type
"integer"
canvasWidth
description
"Width of the are used by MediaViewer to display the image"
required
true
type
"integer"
canvasHeight
description
"Height of the are used by MediaViewer to display the image"
required
true
type
"integer"
devicePixelRatio
description
"Number of device pixels per CSS pixel"
required
true
type
"number"
imgWidth
description
"Width of the image that's required, in CSS pixels"
required
true
type
"integer"
thumbWidth
description
"Width of the thumbnail that's requested, (i.e. the bucket size), in image pixels"