Sha256: 8f0842d27827341cfc74085ed98191afe490bfe706927c444f5d9ad0ca00f1cf
Contents?: true
Size: 799 Bytes
Versions: 2
Compression:
Stored size: 799 Bytes
Contents
# retina_image_tag A high-resolution image is loaded when the retina_image_tag is called from a retina display more info about the problem: http://theindustry.cc/2012/03/30/2x-the-retina-dilemma/ ## Installation Add this line to your application's Gemfile: gem 'retina_image_tag' add this line to application.js: $ //= require retina_image_tag And then execute: $ bundle ## Usage create a normal image: foo.jpg (400x400px) and a @2x Retina Images: foo@2x.jpg (800x800px) and use it like normal <%= retina_image_tag 'foo.jpg' %> ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Added some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
retina_image_tag-0.0.2 | README.md |
retina_image_tag-0.0.1 | README.md |