ContentImageRendition

A pre-rendered size of a content image on the image server. Every rendition is a WebP.

Entries

Link copied to clipboard

240 px wide.

Link copied to clipboard

560 px wide - the size used for icons.

Link copied to clipboard

1280 px wide - the size used for banners.

Link copied to clipboard

2048 px wide.

Link copied to clipboard

The original upload.

Link copied to clipboard

Square crop.

Link copied to clipboard

16:9 banner crop.

Link copied to clipboard

21:9 banner crop.

Link copied to clipboard

4:3 banner crop.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int
Link copied to clipboard

The rendition's file name on the image server.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.