0

I have a website on sitecore version 9.1.1 and sxa 1.8

Several components and pages contain image fields, when I open the page in edit mode everything looks fine but when I open the page in preview mode, all images do not appear. I tried inspecting to check the html rendering but the div appears to be empty in preview mode

enter image description here

Whereas in the edit mode, the html looks fine

enter image description here

I have different sites on the same instance but the images work fine and the issue doesn't exist on other sites, so I'm not sure what might be causing this issue on this specific site. Do I have to change something about the site settings?

3
  • When you open Preview is it correctly setting the context site in the url &sc_site=? Also, when you open SXA site manager everything is correctly configured? Jul 5 at 12:35
  • Yes, everything is set correctly either in the url or in the SXA site manager
    – BasantA
    Jul 5 at 13:13
  • Can you please share your view implementation? Also, are you using GlassMapper? Jul 7 at 7:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.