Properties

class

class?: string

Class to set on root

maximumPixels

maximumPixels?: number

Image maximum size in pixels

resizeQuality

resizeQuality?: MediaResizeQuality

Media height in pixels

objectSize

objectSize?: "cover" | "contain"

How to present image in viewer, defaults to ‘cover’, alternative is ‘contain’

overflowAmount

overflowAmount?: number

The amount we should overflowAmount the image when we move it around

enableParallax

enableParallax?: boolean

Enable parralax effects while dragging images