Image Block Demo
!Note: this piece of documentation is auto-generated from blocks/ImageBlock/README.md.
Renders DatoCMS image with optional caption.
Features
Supports both bitmap and vector images.
Supports optional caption using image title.
Lazy loads image for better performance.
Reserves space for image to prevent page reflow.
Uses blurup image as bitmap image placeholder.
Uses modern formats (avif/webp) for bitmap images automatically.
Has styling for broken image, in case image doesn't exist or can't be loaded.