No release in over 3 years
A Jekyll plugin that automatically wraps <img> tags with links to their high-res versions
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

>= 4.0.0, < 7.0
>= 1.10.0, < 2.0
 Project Readme

Jekyll High-res Link

A jekyll plugin that wraps tags with links to uncompressed originals, saving bandwidth

Usage

  1. Add the pulgin to your Gemfile
gem 'jekyll-highres-link'
  1. Add the plugin to your _config file:
plugins:
  - jekyll-highres-link
  - OTHER_PLUGINS...
  1. Configure the path for the uncompressed images. You can either go with relative or absolute paths (from the root of the project). For absolute paths add in the _config.yaml file the directory with a starting "/":
highres-link:
  - uncompressed_dir: /absolute/path

OR, if the uncompressed images depend on the image location, don't add a starting "/"

highres-link:
  - uncompressed_dir: relative/path
  1. That's it!

To be added

  • Automatically compress the images (for now, you can run the following fish script: compress.fish)