A Jekyll plugin that provides various image manipulation features for al-folio sites.
- Image comparison sliders
- Lightbox galleries
- Medium zoom
- Image sliders
- PhotoSwipe galleries
- VenoBox galleries
Add this line to your Jekyll site's Gemfile:
gem 'al_img_tools'
And then execute:
$ bundle install
- Add the plugin to your site's
_config.yml
:
plugins:
- al_img_tools
- Use image features in your pages:
---
layout: page
title: Gallery
images:
gallery: true # Enable lightbox gallery
compare: true # Enable image comparison slider
slider: true # Enable image slider
photoswipe: true # Enable PhotoSwipe gallery
venobox: true # Enable VenoBox gallery
medium_zoom: true # Enable medium zoom for images
---
- Add the image scripts tag to your layout file (e.g.,
_layouts/default.html
):
{% al_img_scripts %}
After checking out the repo, run bundle install
to install dependencies.
Bug reports and pull requests are welcome on GitHub.