Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrdanadams/jekyll-thumbnailer
Image thumbnailing plugin for Jekyll / octopress
https://github.com/mrdanadams/jekyll-thumbnailer
Last synced: 3 months ago
JSON representation
Image thumbnailing plugin for Jekyll / octopress
- Host: GitHub
- URL: https://github.com/mrdanadams/jekyll-thumbnailer
- Owner: mrdanadams
- Created: 2012-07-26T20:25:07.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-08-23T16:19:28.000Z (about 9 years ago)
- Last Synced: 2024-05-31T20:04:48.523Z (6 months ago)
- Language: Ruby
- Size: 146 KB
- Stars: 36
- Watchers: 6
- Forks: 13
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Image thumbnailing plugin for Jekyll / octopress
Generates a thumbnail to an image and renders an image tag.
## Usage
```
{% thumbnail /path/to/local/image.png 50x50< %}
```The dimensions will be given directly to imagemagick.
You probably want the "<" at the end. See http://www.imagemagick.org/Magick++/Geometry.html.## Installation
* add the gem: `gem "mini_magick"` (and `bundle install`)
* copy thumbnail.rb to plugins folder
* start thumbnailing