Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/myles/jekyll-thumbor

A Jekyll template tag for Thumbor imaging service.
https://github.com/myles/jekyll-thumbor

jekyll thumbor

Last synced: 25 days ago
JSON representation

A Jekyll template tag for Thumbor imaging service.

Awesome Lists containing this project

README

        

# Jekyll::ThumborTag

A [Jekyll](https://jekyllrb.com/) template tag for [Thumbor](https://github.com/thumbor/thumbor) imaging service.

## Installation

Add this line to your application's Gemfile:

```ruby
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:

```yaml
gems:
- jekyll-thumbor
```

## Usage

You need to add an array for thumbor configuration to your `_config.yml` file:

```yaml
thumbor:
url: "https://your-thumbor-server"
key: "your-key"
```

Then in the liquid template you can use the template tag:

```html