4 ms·
I changed the window size and it's always the same image (same px). Is it right?
by edpichler 11y ago
I changed the window size and it's always the same image (same px). Is it right?
- ivopetkov 11y agoIf you are using a browser that does not support the srcset attribute, the default image will be loaded, and no magic will happen. Can you please tell me what your device, browser and window width are.
- edpichler 11y agoChrome in a large screen.
- riquito 11y agoYou must reload the page, it doesn't change at runtime.
- ivopetkov 11y agoActually, it does. If the image size increases, a higher quality version will be loaded if available.
- riquito 11y agoThen I have to assume that I have the same problem of edpichler (Firefox 40, Ubuntu) (or I don't understand the purpose of the demo)
- bshimmin 11y agoIt seems to work - for me, in Chrome 44 on a Mac, at least - if you start with a mobile-width browser and then resize the window wider. Resizing from large to small doesn't seem to work.
- edpichler 11y agoYes, this is what was happening.