MissingImageDimension.message() — astro Function Reference
Architecture documentation for the MissingImageDimension.message() function in errors-data.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD ceef3a1a_3d70_3349_7068_96394a25600f["MissingImageDimension.message()"] 0e25cce4_bb3d_83b8_da61_b3d3cc567b74["errors-data.ts"] ceef3a1a_3d70_3349_7068_96394a25600f -->|defined in| 0e25cce4_bb3d_83b8_da61_b3d3cc567b74 style ceef3a1a_3d70_3349_7068_96394a25600f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/core/errors/errors-data.ts lines 540–543
message: (missingDimension: 'width' | 'height' | 'both', imageURL: string) =>
`Missing ${
missingDimension === 'both' ? 'width and height attributes' : `${missingDimension} attribute`
} for ${imageURL}. When using remote images, both dimensions are required in order to avoid CLS.`,
Domain
Subdomains
Source
Frequently Asked Questions
What does MissingImageDimension.message() do?
MissingImageDimension.message() is a function in the astro codebase, defined in packages/astro/src/core/errors/errors-data.ts.
Where is MissingImageDimension.message() defined?
MissingImageDimension.message() is defined in packages/astro/src/core/errors/errors-data.ts at line 540.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free