Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

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.23
enum ThumbnailSizeRoundingEnum {
  NEAREST
  UP
}

Values

NEAREST

NEAREST

UP

UP

Used by


Schema: Saleor 3.23.43. Download SDL.

Was this page helpful?