Saltar al contenido

Object

Image

An uploaded image stored in R2, with pre-computed dimensions and thumbhash.

Fields

urlString!

Absolute URL for this image. Pass width and/or height to get a Cloudflare-resized WebP variant. When only one dimension is provided, the other is derived from the source aspect ratio. Omit both to get the original upload.

Arguments (2)
widthInt
heightInt
thumbhashString

Base64-encoded ThumbHash for instant blurred placeholders. Null when the hash could not be computed (e.g., local dev without Image Resizing).

Used in