You need to sign in to do that
Don't have an account?

How to resolve Image tag error in Experience Cloud Site(LWR)
I have on LWC component in it I am displaying the LoggedIn User details like Name and FullPhotoUrl fields
To diaplay FullPhotoUrl user field I have used Image tag in the LWC
It is working fine When I am opening in the New Tab
But When try to open that site in the Ignition window it's not displaying image and I am gettin this error in the console.
"""Refused to load the image
because it violates the following Content Security Policy directive: "img-src 'self' data: blob:"""
Is there any way to resolve this
To diaplay FullPhotoUrl user field I have used Image tag in the LWC
It is working fine When I am opening in the New Tab
But When try to open that site in the Ignition window it's not displaying image and I am gettin this error in the console.
"""Refused to load the image
because it violates the following Content Security Policy directive: "img-src 'self' data: blob:"""
Is there any way to resolve this
Can you try below.
Set up --> csp trusted site --> create new record --> add your url --> select the below content as needed and click save
Thanks,
I have added the URL of my Site in the CSP trusted site but didn't work for me.