README.md in middleman-dragonfly_thumbnailer-1.0.1 vs README.md in middleman-dragonfly_thumbnailer-1.0.2
- old
+ new
@@ -14,9 +14,15 @@
Or install it yourself as:
$ gem install middleman-dragonfly_thumbnailer
+## Configuration
+
+Just add the following to your config.rb file:
+
+ activate :dragonfly_thumbnailer
+
## Usage
<%= thumb_tag 'image.png', '100x100#', class: 'thumbnail' %>
The second argument is a geometry string which specifies the dimensions and options such as aspect ratio and cropping. Have a look at http://markevans.github.io/dragonfly/imagemagick/ for examples of what you can do.