Make inline "width" and "height" attributes optional
Closed this issue · 1 comments
tedlin182 commented
Because the width
and height
attributes are by default added to the <img>
tag, this doesn't allow the image to be responsive due to the fixed width and height.
After initial page load, as I shrink down my viewport width, it squishes the image and doesn't scale. Same if I widen the viewport width.
tedlin182 commented
Actually i forgot to set the height: auto
. It scales fine now. Thanks for a great plugin!