Closed thom4parisot closed 10 years ago
This threw me for a loop yesterday. :(
This threw me for a loop as well.
With this PR the image width attribute is set only when it's set.
This way the container is driving the image sizing, unless you really want to force it.
Let me know if that works for you, especially @nhoizey :-)
Seems to work well! \o/
Example here: http://lab.gasteroprod.com/imager/ex01/
The container width has to be explicitly set to 100% for example.
Imager should at least pick 320 if the width is not properly picked up.
Props of @nhoizey