Closed felixbuenemann closed 11 years ago
If img_tag(asset, dimeonsions: false) is used, the :dimensions key is not removed from the options and is added as an attribute to the img tag: <img src="asset" dimeonsions="false"/>.
img_tag(asset, dimeonsions: false)
:dimensions
<img src="asset" dimeonsions="false"/>
Thanks! Only thing missing now is a test… :)
Yes, I was about to look into the specs when my cable uplink broke, so I'll have to look into it later.
Ok, I wrote a quick spec on my iPad.
If
img_tag(asset, dimeonsions: false)
is used, the:dimensions
key is not removed from the options and is added as an attribute to the img tag:<img src="asset" dimeonsions="false"/>
.