1. Three-Crop Art-Directed Hero Banner
Frontend DeveloperBackground
A marketing landing page requires different visual compositions: an ultra-wide shot on desktop, a medium crop on tablet, and a tight portrait crop on mobile screens.
Problem
Manual authoring of `<picture>` and media queries often results in ordering mistakes where mobile queries override desktop assets.
How to use
Paste the breakpoint thresholds and image paths into the sources textarea, specify 1x and 2x densities, set the fallback image, and select HTML output.
sources: "768 /img/hero-mid.jpg\n1280 /img/hero-wide.jpg"
descriptorMode: "density"
densities: "1x,2x"
fallbackUrl: "/img/hero-mobile.jpg"
altText: "Fresh sourdough loaves on a marble counter"
formatLayer: "none"
flavor: "html"
lazyAttrs: trueOutcome
Generates a `<picture>` element sorted descending (1280px then 768px) with 1x/@2x retina density descriptors and an optimized fallback `<img>`.