Jekyll High-res Link
A jekyll plugin that wraps tags with links to uncompressed originals, saving bandwidth
Usage
- Add the pulgin to your Gemfile
gem 'jekyll-highres-link'
- Add the plugin to your _config file:
plugins:
- jekyll-highres-link
- OTHER_PLUGINS...
- 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
- That's it!
To be added
- Automatically compress the images (for now, you can run the following fish script: compress.fish)