Ruby on Rails Build Status

More examples and additional documentation for the Ruby on Rails library can be found on GitHub at: https://github.com/imgix/imgix-rails.

Example

<%= ix_image_tag("/users/1.jpg", { w: 400, h: 300 }) %>

<%= ix_responsive_image_tag("/users/1.jpg", { w: 400, h: 300 }) %>

<%= ix_picture_tag("/users/1.jpg", { w: 400, h: 300 }) %>

More tools