Skip to content
Bug Barometer
All issues
In Review

Experience / LWR Digital Experience

Asset file images are not displayed on mobile devices in an LWR site with CDN enabled and "Optimize images for mobile devices" turned on

Reported
Nov 27, 2026
Updated
Nov 30, 2026
Fixed
—
Reports
0
Found in
Winter '27
Reference
W-24505222

Summary

On an Experience Cloud LWR site, the legacy mobile image-optimisation redirect sends asset images on phones and tablets to a URL that returns 404, so the images do not display.

The "Optimize images for mobile devices" option is shown in the workspace admin page only when CDN is disabled. When CDN is enabled, you need to check Network.OptionsMobileImageOptimizationEnabled directly.

Workaround

Set Network.OptionsMobileImageOptimizationEnabled = false for the affected site.

The field is hidden in the site workspace when default CDN is on, so it is likely to need the Metadata or Tooling API.

Steps to reproduce

1. In an org with Digital Experiences enabled, create a Build Your Own (LWR) site. Keep the default Network setting OptionsMobileImageOptimizationEnabled = true. Leave "Use Content Delivery Network (CDN) by default when enhanced domains are enabled for Experience sites" on.

2. In Experience Builder, add an HTML Editor component to the home page with this markup, where <AssetName> is an existing Content Asset that is an image: <img src="{!contentAsset.<AssetName>.1}" alt="test">

3. Add a Lightning web component to the same page that imports the same asset with @salesforce/contentAssetUrl and renders it in an img tag.

4. Set the page access to Requires Login and publish the site. Set the site status to Active and add a community profile on the Members tab.

5. Create a community user with that profile.

6. In Chrome DevTools, open More tools > Network conditions, clear "Use browser default" under User agent, and select Safari - iPhone iOS 13.2. Turn on "Disable cache".

7. Log in to the site as the community user and open the page. Open the Network tab and filter on the asset name.

Status timeline

  1. Nov 30, 2026

    created · In Review · 0 reports

  2. Nov 30, 2026

    content changed · In Review · 0 reports

Official known-issue pageSuggest a workaround

Asset file images are not displayed on mobile devices in an LWR site with CDN enabled and "Optimize images for mobile devices" turned on · Bug Barometer