0

So I'm trying to use the plugin RGBaster to pull an image and then get the primary color. I'm hosting the site on GoDaddy and wordpress is the backend.

I'm getting this error in the Chrome Console

Image from origin 'http://i0.wp.com' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://MYSITEHERE.COM' is therefore not allowed access.

Does anyone have any idea on how to fix this? I can't find any info for images, I've found several links about cross origin but they all seem related to fonts.

Max McKinney
  • 1,218
  • 15
  • 25

1 Answers1

0

You must probably set up CORS on the server. See this answer in this post: localhost is therefore not allowed access

Community
  • 1
  • 1
Per Kristian
  • 785
  • 8
  • 10