Skip to content

Create an image gallery from a folder with a liquid tag. Great for a Jekyll or Octopress Site

License

Notifications You must be signed in to change notification settings

scalabs-graveyard/jekyll-image-set

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Create an image gallery from a folder with a liquid tag. Great for a Jekyll or Octopress Site

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%