Skip to main content

ImageRequirements

What a channel requires of a listing's images. Company overrides sit on top of defaults for the channel type.

type ImageRequirements {
allowedTypes: [String!]!
minHeight: Int!
minWidth: Int!
slotCount: Int!
slotNames: [String!]!
}

Fields​

ImageRequirements.allowedTypes ● [String!]! non-null scalar common​

Content types the channel accepts.

ImageRequirements.minHeight ● Int! non-null scalar common​

The shortest image, in pixels, that satisfies a slot.

ImageRequirements.minWidth ● Int! non-null scalar common​

The narrowest image, in pixels, that satisfies a slot.

ImageRequirements.slotCount ● Int! non-null scalar common​

How many images a listing carries. Slot 1 is the hero.

ImageRequirements.slotNames ● [String!]! non-null scalar common​

Slot names in order, in the channel's own vocabulary.

Member Of​

SalesChannel object