Jekyll::ThumborTag
A Jekyll template tag for Thumbor imaging service.
Installation
Add this line to your application's Gemfile:
gem 'jekyll-thumbor'
And then execute:
$ bundle
Or install it yourself as:
$ gem install jekyll-thumbor
You now need to enable the plugin in your Jekyll web site. Append it to the gems array in your _config.yml file:
gems:
- jekyll-thumbor
Usage
<img src="{% thumbor_tag https://example.org/picture.jpg, width: 500, height: 500 %}"
Development
After checking out the repo, run bin/setup to install dependencies. Then, run bin/console for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install. To release a new version, run bumpversion minor, and then run bundle exec rake release to create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.
Contributing
See CONTRIBUTING.md.