Additional information
Usage in templates
Mirrors {{ glide }}'s shape:
{{ cfimage:image preset="thumbnail" }}{{ url }}{{ /cfimage:image }}
<img src="{{ cfimage:image preset="thumbnail" }}" alt="...">
{{ cfimage src="{ mobile_image ?? image }" preset="thumbnail" }}
Accepts a Statamic Asset, or any object exposing a public $disk property and a getPathRelativeToRoot() method (e.g. a Spatie Media model), or a plain path string (resolved against cfimage.default_disk).