Prompt

I'm trying to set up AVIF fallback for older browsers

Technology / CDN & Edge Infrastructure1 observationLast seen Oct 31, 2026

Latest observation

Oct 31, 2026OpenAI APIWeb search: off

A good way to do AVIF fallback is to use the HTML <picture> element and provide sources in order of preference.

Example

<picture>
  <source srcset="image.avif" type="image/avif">
  <source srcset="image.webp" type="image/webp">
  <img src="image.jpg" alt="Description of the image">
</picture>

How it works

  • Browsers that support AVIF load image.avif
  • Browsers that don’t but support WebP load image.webp
  • Older browsers fall back to the <img> source, usually JPG or PNG

Notes

  • Put the most modern format first
  • Always include a normal <img> fallback
  • Add a meaningful alt attribute
  • If you need responsive images, you can also use srcset and sizes inside <source>

Responsive example

<picture>
  <source
    type="image/avif"
    srcset="image-480.avif 480w, image-800.avif 800w"
    sizes="(max-width: 600px) 480px, 800px">
  <source
    type="image/webp"
    srcset="image-480.webp 480w, image-800.webp 800w"
    sizes="(max-width: 600px) 480px, 800px">
  <img
    src="image-800.jpg"
    alt="Description of the image"
    width="800"
    height="600">
</picture>

If you want, I can also show you how to set this up in:

  • plain HTML
  • React / Next.js
  • WordPress
  • a build pipeline like Vite/Webpack

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.