इसे छोड़कर कंटेंट पर जाएं
This is an unmaintained snapshot of the Astro v4 docs. View the latest docs.

Missing image dimensions

यह कंटेंट अभी तक आपकी भाषा में उपलब्ध नहीं है।

Missing width and height attributes for IMAGE_URL. When using remote images, both dimensions are required in order to avoid cumulative layout shift (CLS).

For remote images, width and height cannot automatically be inferred from the original file. To avoid cumulative layout shift (CLS), either specify these two properties, or set inferSize to true to fetch a remote image’s original dimensions.

If your image is inside your src folder, you probably meant to import it instead. See the Imports guide for more information.

See Also:

योगदान करें

आपके दिमाग में क्या है?

समुदाय