Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 1.1 KB

README.md

File metadata and controls

30 lines (18 loc) · 1.1 KB

Jekyll Image Set (with Thumbnails)

Create an Image Gallery from a Folder with Image Thumbnails
Based on https://github.com/callmeed/jekyll-image-set
License: MIT

What?

Takes a subdirectory of the _uploads (a collection used by sites made with siteleaf) folder, gets all the images from it, and creates HTML image and container tags plus thumbnails with 30% of the full dimensions.

Installation

Place the image_set.rb file in the _plugins directory of your Jekyll site

Dependency add this line to your sites Gemfile: gem "mini_magick" (with the source: source 'https://rubygems.org')

not working with github pages

Usage

{% image_set uploads/gallery1 %}

(this will create a ul container, then li and img tags for each image in _uploads/gallery1)

Known Issues

  • Tabs/indentation is crappy.
  • Images disappear when jekyll build process completes
  • Can only choose images from the _uploads collection