Main image loads late
The browser finds the page’s main image late: it’s set to load lazily, added by a script or set as a background, so it starts downloading after other files.
Why it matters
The main image is what makes the page look ready: every moment before it starts downloading is added to the time visitors wait.
How to fix it
- Turn off lazy loading for the first image on the page, such as the hero or the first product photo, and keep it for the images further down.
- Put the main image in the page as an ordinary image, not a background or a slideshow added by a script.
- Mark it as high priority if your platform or theme has a setting for it.
On WordPress
- WordPress 6.3 and later leaves the first large images on the page out of lazy loading and marks the main one high priority itself. If the main image still loads late, a plugin (lazy loading, images or caching), a slider or a page builder is usually the cause: turn off lazy loading for that image there, or use an ordinary Image block.
WordPress help: Image performance enhancements in WordPress 6.3 (opens in a new tab)
On Shopify
- Put the main image in an image banner, slideshow or hero section, and drag that section to the top of the page in the theme editor: Shopify’s own themes load images in the first sections straight away and give the first one high priority. With another theme, ask its developer.
On Wix
- Wix has no setting for this: its lazy loading can’t be turned off.
Wix help: Site Performance: How Wix Improves a Site’s Loading Time (opens in a new tab)
On Webflow
- Select the main image and, in Element settings › Image settings, set Type to Eager. Leave the images further down on Lazy.
In code (HTML, CSS or Tailwind)
- Leave out
loading="lazy"on the main image and addfetchpriority="high".<img src="hero.webp" width="1600" height="900" fetchpriority="high" alt="…">
Common mistakes
- Lazy-loading every image, the first one included: lazy loading is only for images that start below the screen.
Check your fix
Once the change is live, check the page again.