Properties

class

class?: string

Class to set on root

maximumPixels

maximumPixels?: number

Image maximum size in pixels

resizeQuality

resizeQuality?: MediaResizeQuality

Media height in pixels

objectFit

objectFit?: "cover" | "contain"

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

overflowAmount

overflowAmount?: number

The amount the image should overflow when we move it around

enableParallax

enableParallax?: boolean

Enable parallax effects while dragging images