ThumbnailSizeRoundingEnum Enum
Enum ThumbnailSizeRoundingEnum in Saleor’s Miscellaneous API. Explore its schema, type relationships, descriptions, and compatibility notes.
Determines how a requested size is matched to an available thumbnail size: 32, 64, 128, 256, 512, 1024, 2048, 4096.
NEAREST - the closest available size; it may be smaller than requested. UP - the smallest available size not smaller than requested, so the image is never smaller than requested unless the original is smaller or the requested size exceeds 4096.
Added in Saleor 3.23enum ThumbnailSizeRoundingEnum {
NEAREST
UP
}
Values
NEAREST
NEAREST
UP
UP
Used by
- AppBrandLogo (objects)
- AppManifestBrandLogo (objects)
- OrderLine (objects)
- Category (objects)
- Collection (objects)
- Product (objects)
- ProductImage (objects)
- ProductMedia (objects)
- User (objects)
Schema: Saleor 3.23.43. Download SDL.