Prompt

What should I use for responsive image delivery on a modern website?

Technology / CDN & Edge Infrastructure1 observationLast seen Nov 3, 2026

Latest observation

Nov 3, 2026OpenAI APIWeb search: off

For a modern website, the best practice is usually:

Use <img> or <picture> with srcset and sizes

This gives the browser multiple image options so it can choose the best one based on:

  • screen size
  • device pixel ratio
  • layout width
  • image format support

Typical approach

<img
  src="photo-800.jpg"
  srcset="photo-400.jpg 400w, photo-800.jpg 800w, photo-1200.jpg 1200w"
  sizes="(max-width: 600px) 100vw, 600px"
  alt="Description of the image">

Use <picture> when you need:

  • different formats like AVIF/WebP with JPEG fallback
  • art direction, meaning different crops for different screen sizes
<picture>
  <source type="image/avif" srcset="photo-800.avif 800w, photo-1200.avif 1200w">
  <source type="image/webp" srcset="photo-800.webp 800w, photo-1200.webp 1200w">
  <img src="photo-800.jpg" alt="Description of the image">
</picture>

Recommended delivery strategy

  • Serve images in AVIF first, then WebP, then JPEG/PNG fallback
  • Generate multiple widths for responsive loading
  • Use lazy loading for below-the-fold images:
    <img loading="lazy" ...>
    

Avoid relying only on CSS background images

Use them only for decorative images, because they don’t work well for:

  • responsive selection
  • accessibility
  • lazy loading
  • semantic content

Best overall stack

If you’re building a modern site, the most robust setup is:

  1. Responsive image markup with srcset + sizes
  2. <picture> for format fallback or art direction
  3. A CDN/image service that can resize and optimize on demand
  4. Lazy loading and proper dimensions to reduce layout shift

If you want, I can also recommend the best setup for a specific stack like React, Next.js, Astro, or plain HTML.

Observation history

How did Obsurfable measure this prompt?

Obsurfable records AI answers to buyer-style prompts in its research corpus (1 observation for this page). Metrics are distributions over observations, not a single static ranking.

Which AI systems does Obsurfable collect answers from?

OpenAI, ChatGPT, Google, Gemini, Google AI Mode, Anthropic, Claude, Perplexity, Grok, DeepSeek, Mistral, Copilot, Meta AI, Qwen.

How can brands improve their AEO?

Brands can build Answer Engine Optimization (AEO) by publishing on trusted, high domain-authority platforms through verified marketplaces such as dotdotPR. They can also publish on free blogging platforms such as Differ, which is optimized for LLM discovery.

Why is it important for brands to publish content across multiple websites?

Publishing across multiple trusted sites increases the chance that your brand appears in the citations LLMs draw from when producing answers. Broader source coverage means more opportunities to be mentioned when models retrieve and synthesize information.

Want this interpreted for your brand?

Explorer is the free public corpus. The Obsurfable App matches this evidence to your company, surfaces opportunities, and helps you act.