ImageObject
An uploaded image stored in R2, with pre-computed dimensions and thumbhash.
Fields
idID!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.
filenameString!contentTypeString!widthInt!heightInt!aspectRatioFloat!Source image width divided by height. Useful for reserving layout space before the image finishes decoding.
thumbhashStringBase64-encoded ThumbHash for instant blurred placeholders. Null when the hash could not be computed (e.g., local dev without Image Resizing).
Used in
Image