jekyll-picture-tag

By robwierzbowski

Liquid tag that adds responsive images to your Jekyll static site. It follows the picture element pattern, and polyfills older browsers with Picturefill. Jekyll Picture Tag automatically creates resized source images, is fully configurable, and covers all use cases — including art direction and resolution switching — with a little YAML configuration and a simple template tag.

To install, add this to your Gemfile:

gem "jekyll-picture-tag"

and run bundle install. To use, run Jekyll with bundle exec preceding it:

$ bundle exec jekyll build
$ bundle exec jekyll serve

Source code