When using an empty image as fallback the below html is produced. But this can not be hidden using the css trick mentioned in the README.txt because width and height properties are missing.
<picture>
<!--[if IE 9]><video style="display: none;"><![endif]-->
<source srcset="http://dev.example.nl/files/styles/headerimage_bp_tablet_1x/public/header_image/27-04-2014-123.jpg?itok=0ZmYB7pp 1x" media="(min-width: 720px)">
<!--[if IE 9]></video><![endif]-->
<img alt="" src="http://dev.example.nl/data%3Aimage/gif%3Bbase64%2CR0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7">
</picture>
Comments
Comment #1
attiks commentedComment #2
sutharsan commentedWith the 2.3 release the output is now:
No empty image gif. Perhaps it is in configuration, I can debug, but do not know where to start.
Comment #3
attiks commentedCan you try with js disabled to see what is outputted
Comment #4
sutharsan commentedYes, that's more like it:
What's next?
Comment #5
sutharsan commentedBut even this output has no 'with' or 'height' attribute. Is there an other way to disable the image or is this still not fixed?
Comment #6
attiks commentedthe img tag is needed by the polyfill, you could use css to hide it
Comment #7
sutharsan commentedI can manage to hide the gif with css using breakpoints. But using w=1/h=1 in css would be much easier.
Comment #8
attiks commentedThe problem is that width and height are not reset by the polyfill, so we can not use them (for the moment), see also
Comment #9
attiks commentedPostponing till it get fixed upstream, so for the moment the README is not valid.
Comment #10
jelle_sREADME updated.
Comment #11
attiks commentedAssuming this is fixed, if not feel free to re-open or create a new issue.