Can't get CDN linker to work
-
I read in you FAQ that a site was using the retina.js method and MaxCDN using CDN linker. The retina.js method is the only one that works on my site (picturefill does nothing) and I have it working, except when I turn CDN linker on, it reverts back to normal images. I even tried putting this in my .htacccess file as suggested in different thread:
# ———————————————————————-
# CORS-enabled images (@crossorigin)
# ———————————————————————-
# Send CORS headers if browsers request them; enabled by default for images.
# developer.mozilla.org/en/CORS_Enabled_Image
# blog.chromium.org/2011/07/using-cross-domain-images-in-webgl-and.html
# hacks.mozilla.org/2011/11/using-cors-to-load-webgl-textures-from-cross-domain-images/
# wiki.mozilla.org/Security/Reviews/crossoriginAttribute
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
# mod_headers, y u no match by Content-Type?!
<FilesMatch “\.(gif|png|jpe?g|svg|svgz|ico|webp)$”>
SetEnvIf Origin “:” IS_CORS
Header set Access-Control-Allow-Origin “*” env=IS_CORS
</FilesMatch>
</IfModule>
</IfModule>Any ideas what this won’t work?
https://www.blindmanspuff.com
- The topic ‘Can't get CDN linker to work’ is closed to new replies.