Closed daleyjem closed 10 years ago
I have the following code:
// Responsive image loading (riloadr) var riloadrDefaultGroup = new Riloadr({ breakpoints: [ {name: 'mobile', maxWidth: 699}, {name: 'tablet', minWidth: 700, maxWidth: 959}, {name: 'desktop', minWidth: 960} ], watchViewportWidth: '*' });
If I'm on desktop and resize my browser, everything works correctly. Image src's swap out while resizing, and only one of the 3 images loads on refresh.
What is happening with iPad that it only cares for the maxWidth: 699 breakpoint?
Nevermind... Didn't get the concept of minDevicePixelRatio
I have the following code:
If I'm on desktop and resize my browser, everything works correctly. Image src's swap out while resizing, and only one of the 3 images loads on refresh.
What is happening with iPad that it only cares for the maxWidth: 699 breakpoint?