Firefox not loading in Larger Images on resize
-
Is this a known issue? I’ve read a little about picturefill and firefox issues involving srcset, but I’m not sure if that’s what causing this or if anyone else has witnessed this problem.
So far I’ve only tested on Chrome 46.0.2490.80, Safari 9.0.1, , and Firefox 41.0.2 (all OS X)
It appears as if in Safari on a resize, it always swaps the image to the most appropriate, even if a larger size has already been loaded.
In Chrome, it only swaps the image out on resize if a larger image is needed.
But Firefox doesn’t perform any image swapping at all. I know the plugin is working to an extent, because it loads in the most appropriate size when the page loads. But if I resize the browser to a larger size, no image swap is performed. I just get a low-res image stretched out.
On thing I’ve noticed is that when inspected using developer tools, the code is slightly different in each of the three browsers mentioned. Chrome and Safari both return a full srcset array, although Safari has a blank srcset attribute and instead displays the array using data-pfsrcset. But under Firefox, srcset only shows the full-sized image and width, rather than all sizes associated with an image. It still pulls in the correct size on load, just not resize.
Thanks!
-Nick
https://www.ads-software.com/plugins/ricg-responsive-images/
- The topic ‘Firefox not loading in Larger Images on resize’ is closed to new replies.