The URL is not correct!The image has been blocked by CORS policy. You need to host the image under the same protocol and domain or enable 'Access-Control-Allow-Origin' on the server where you host the image. Read more about it here.

"

What is in your opinion the origin of this problem and what the solution?

Thank you

3 people have this question

D

David Fozdar

said
5 months ago

This problem occurs for me when I use a CDN (maxCDN) via W3 Total Cache (plugin). I have to exclude every image I use as a background from using CDN, then I don't have the problem (you can exclude files or folders in the W3 Total Cache plugin options). I would assume this happens for any CDN service enabled.

s

sashen naidoo

said
5 months ago

I have this problem also.

my background images dissapear when I take my site into production mode, my servers uses maxCDN.

"Production mode will speed up your site by using the server caching and CDN that we have in place"

Bala Nagendran

The URL is not correct!The image has been blocked by CORS policy. You need to host the image under the same protocol and domain or enable 'Access-Control-Allow-Origin' on the server where you host the image. Read more about it here.

How to solve this.Please reply as soon as possible.It will help me a lot.