Closed (fixed)
Project:
Responsive images and styles
Version:
7.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Oct 2014 at 14:27 UTC
Updated:
2 Nov 2014 at 11:54 UTC
Jump to comment: Most recent
Comments
Comment #1
attiks commentedThe easiest is to switch to the picture module
Comment #2
attiks commentedA new dev version is pushed using the new polyfill, can you test?
Comment #3
jens_dot_jens commentedI don't see the pics now at all, on any browser. But now there is no JS errors anymore at least. Inside picture tag should there be
<img>tag also? Because looking my site with devtools, it has<picture>and<source>tags inside with correct URLs but<img>tag is missing.I guess the picture module has totally different settings etc? So it would set up and template/CSS changes on my site? That's ok, but this site is production site so it would be nice if this module would be fixed so with time I could move to this new module.
Comment #4
jelle_sFixed in the latest dev version
Comment #5
jens_dot_jens commentedErhm, is it fixed, really?
Comment #7
jelle_sUgh, sorry, didn't push. Should be fixed now ;-)
Comment #8
jens_dot_jens commentedIt loads the picture now but doesn't change. So I feel picturefill isn't working now? My markup looks like this, when looking devtools:
So it just loads the mobile size image on page load but doesn't change to desktop version when browser width is > 720px. Same thing on all browsers.
Comment #9
attiks commentedPicture (and the new polyfill) will use the first matching source, so you have to re-order your breakpoints
Comment #10
jens_dot_jens commentedYou mean from Breakpoints settings I just change the order? For example in my case I move desktop breakpoint first and then mobile (now mobile first and then desktop)? It doesn't seem to have any difference. It loads the mobile size and it' doesn't change the pic when resizing the browser.
Comment #11
attiks commentedYes, but check the HTML output or clear all caches
Comment #12
jens_dot_jens commentedClearing caches didn't help and HTML output looks same as previously. It prints the mobile as default.
Comment #13
4kant commentedSame here. The default can never be changed. Is always keeps beeing "mobile".
Comment #14
attiks commented#12, #13 What browser are you using to test
Comment #15
jens_dot_jens commentedNewest Firefox, newest Chrome, newest Safari on Mac. It doesn't change in any browser.
Comment #16
4kant commentedSame here but Windows ;-(
Comment #17
4kant commentedI just realized that it seems to work when I
The second step is what I haven`t done before.
@jens_dot_jens: can you confirm that?
Comment #18
attiks commented4kant, you're right, you have to save them again since the order is saved as well