[][src]Module imgix::constants

Constants

IMAGE_MAX_WIDTH

The maximum width of a default generated image-width.

IMAGE_MIN_WIDTH

The minimum width of a default generated image-width.

IMAGE_ZERO_WIDTH

Representation of an image with a width of zero. This value is used in validation contexts, i.e. "is the width of the passed or requested image greater than or equal to the 'zero width image'."

SRCSET_DPR_QUALITIES
SRCSET_TARGET_DPR_RATIOS

The default density pixel ratios (dpr).

SRCSET_TARGET_WIDTHS
SRCSET_WIDTH_TOLERANCE

The srcset width tolerance dictates the maximum tolerated size difference between an image's downloaded size and its rendered size. For example, setting this value to 10.0 means that an image will not render more than 10% larger or smaller than its native size.

Functions

lib_version