README.md in retina_rails-0.0.6 vs README.md in retina_rails-0.1.0
- old
+ new
@@ -26,16 +26,18 @@
```ruby
class ExampleUploader < CarrierWave::Uploader::Base
version :small do
process :resize_to_fill => [30, 30]
+ process :retina_quality => 25
end
include RetinaRails::CarrierWave
end
```
+By default it sets the retina image quality to 40 which can be overriden with `process :retina_quality => 25`
Paperclip
------------
Add `include RetinaRails::Paperclip` to the bottom of your class
@@ -45,15 +47,17 @@
has_attached_file :image,
:styles => {
:original => ["800x800", :jpg],
:big => ["125x125#", :jpg]
- }
+ },
+ :retina_quality => 25
include RetinaRails::Paperclip
end
```
+By default it sets the retina image quality to 40 which can be overriden by adding a `retina_quality` option
For retina images use
------------
```ruby