PoiPhoto
Photo metadata for one point of interest — dimensions and attribution, never image bytes.
Photo metadata for one point of interest — dimensions and attribution, never image bytes.
Import from @homepages/template-kit.
Signature
Section titled “Signature”export type PoiPhoto = { width: number; height: number; attribution: string; url?: string; responsive?: ResponsiveImage | null;};Constraints
Section titled “Constraints”- A
PoiRow’s missingphotofield is how a template knows the place has no photo at all. Onlywidth/height/attributionare persisted; the display URL is minted at render time from the row’splace_idand delivered on the same object, so a renderer reads it without a cast.