No commit activity in last 3 years
No release in over 3 years
Plugin for compress/optimize images (jpg, png, gif, svg). If you are struggle how to install more information you can find here: https://github.com/valerijaspasojevic/jekyll-compress-images
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Gem Version

jekyll-compress-images

Plugin for compress/optimize images (jpg, png, gif, svg).

Installation

add to your Gemfile:

gem 'jekyll-compress-images'

and in _config.yml:

plugins:
  - jekyll-compress-images

Run bundle install in your project folder

Configuration

If you want to setup different path for images, open _config.yml add

compress_images:
  images_path: "yourpath/img/**/*.{gif,png,jpg,jpeg,svg}"

if you don't configure your default path will be assets/img/**/*.{gif,png,jpg,jpeg,svg}

image_optim options

You can pass image_optim options by using

imageoptim:
  pngout: false
  svgo: true
  verbose: false

Usage

on jekyll serve or in jekyll build you will run compression, if your images are already compressed, you don't need to worry because it will not run again which will save bunch of time! :)

If this project helps you, you can give me a robot instead of coffee. :)

paypal

Enjoy 🎉