Reference the responsive image manifest for asset dimensions
The
responsive-image-manifest.json file provides a mapping of image paths to their original dimensions (width and height) and a list of available source variations for different screen resolutions. This manifest is used to implement responsive images by selecting the appropriate source URL based on the required width.{
"/assets/images/covers/topics/redis-cluster.webp": {
"width": 1600,
"height": 900,
"sources": [
{ "src": "/assets/images/covers/topics/redis-cluster.160w.webp", "width": 160 },
{ "src": "/assets/images/covers/topics/redis-cluster.320w.webp", "width": 320 },
{ "src": "/assets/images/covers/topics/redis-cluster.960w.webp", "width": 960 },
{ "src": "/assets/images/covers/topics/redis-cluster.webp", "width": 1600 }
]
}
}