imgix / imgix-rails

A gem for integrating imgix into Rails projects

Home Page:https://www.imgix.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`widths` option is rendered in HTML

kellysutton opened this issue · comments

When specifying a :widths option to #ix_image_tag, that option gets carried through and rendered as an attribute in the resulting HTML. This results in something that looks like the following:

<img src="..." widths="250 500 750" />

Expected Result:

The widths attribute does not appear in the rendered HTML when specified as an option in #ix_image_tag.

Good catch, I'll get this fixed up. Thanks Kelly!

Released as 2.1.1, thanks again @kellysutton.