300, // Big enough to fill a laptop screen and read detail in, // small enough that rendering and caching one per file is // not a second copy of the library. Anyone who wants the // actual pixels downloads the file. self::Preview => 1600, }; } /** Where this rendition's cached files live on the local 'files' disk. */ public function directory(): string { return match ($this) { self::Thumbnail => 'thumbnails', self::Preview => 'previews', }; } }