ResponsiveImage
The responsive rendition of one image: a candidate set per format, plus the intrinsic size of its largest rung.
The responsive rendition of one image: a candidate set per format, plus the intrinsic size of its largest rung.
width and height describe the ceiling rung rather than the original
upload, so a layout can reserve the correct aspect ratio before any image
bytes arrive.
Import from @homepages/template-kit.
Signature
Section titled “Signature”export interface ResponsiveImage { sources: ResponsiveSource[]; width: number; height: number;}Constraints
Section titled “Constraints”sourcesis ordered by preference and a browser takes the first entry whosetypeit supports, so reordering it changes which format readers actually receive.