Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Key

Description

key

An identifier for the class. This must be unique across the array. It is not presented to the user, but is provided to the cropChosen callback

name

A label for the class. This is the name displayed to the user of the CMS browser

width

The width (in pixels) for the class

height

The height (in pixels) for the class

format

The output format that you want the image to be ("JPG", "PNG", "GIF", "TIF", or "WEB"). "WEB" is a special choice that will maintain the current image type if it is a GIF, JPG or PNGsuitable for website use, or else convert it to a JPG and strip profile and metadata to produce a PNGsmaller size file.

usePadding
Denotes whether padding is allowed to exist around the image for this crop class

...