spatie/statamic-responsive-images
Statamic addon by Spatie that adds a responsive images fieldtype with art direction and breakpoint support. Automatically generates responsive image variants on upload and lets you render them easily in Antlers via the responsive tag.
lg:src) to dynamically serve tailored images for experiments or user segments.Avoid if:
Consider if:
"This package solves a critical performance bottleneck by automatically generating optimized, responsive images for Statamic—reducing load times by up to 50% and improving mobile UX. It’s a turnkey solution that eliminates the need for custom development, saving both time and resources. With support for modern formats (WebP/AVIF) and art direction, it aligns with our design system and headless API goals while future-proofing for Core Web Vitals compliance."
*"Spatie’s statamic-responsive-images integrates seamlessly with Statamic’s asset pipeline, using Glide under the hood to generate responsive variants on-demand (with optional caching). Key benefits:
<img> tags with dynamic srcset and sizes via JavaScript.sm, md, etc. (Tailwind-compatible by default).ratio, quality:webp).responsive-images.php.*"This adds a drag-and-drop fieldtype for responsive images, letting you:
How can I help you explore Laravel packages today?