I have a server where I keep my PHP scripts and images. At first I had a problem because AJAX requests returned nothing: turned out that cross-origin sharing needed to be set up in the .htaccess file.
However, when I'm trying to load an image via 'Load image from URL' it still gives me this:
(...) has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I'm confused. How would I add this header specifically to an image file?