Retina images no loading on Ajax loaded pages.
-
Hi Jordy,
Heres possibly a new issue.
We have ajax loaded pages on our site and unfortunately the @2x images are not being loaded instead of the standard ones.
I couldn’t get client side (retina.js) to work with our CDN yet, although when I turned the CDN off it didn’t work anyway with the ajax loaded pages, I figured I might have had to include the retina.js file to load within the ajax load of the page.
However I swapped to HTML rewrite as it got around the CORS issues that I couldn’t’ get working with the CDN for Nginx and it started loading the images on the page (I presume the HTML rewrite is better than server side with cloud flare and caching?)
Have a look at the site, and click on an image to load the portfolio page and see the @2x image doesn’t load (but if you click on the source and edit it to @2x you’ll see its there on the CDN)
Can you think of an answer for this one?
- The topic ‘Retina images no loading on Ajax loaded pages.’ is closed to new replies.