0.01
No release in over 3 years
Low commit activity in last 3 years
Provides an image thumbnailer with watermark support. Adds a liquid tag `thumbnail` with a parmeter to set a resolution. Can also overlay PNGs overtop for watermarking.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.10
~> 10.0

Runtime

>= 0
 Project Readme

Jekyll Thumbnail

Build Status Coverage Status Gem Version

Adds a liquid tag that can generate thumbnails, with watermarks, at any size you dictate.

Usage

Require the ruby gem in your Gemfile...

gem 'jekyll-thumbnail'

Then, use it in your Liquid templates as follows:

{{ "{% thumbnail path/to/image.jpg 50x50 " }}%}

This will pass the image through the thumbnailer, and generate a thumbs/ directory where the image is located.

Thumbs directory

Images that already exist are not re-generated, so you can save yourself some work by caching these files.

Unit Tests

Running Rake will work through all the minitest tests for this feature...

$ rake

Installation

Inside your gemfile...

gem "jekyll-thumbnail"

Building and Releasing

$ gem build jekyll-thumbnail.gemspec
$ gem push jekyll-thumbnail-0.1.18.gem