This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Tinypng optimize all images form media folder

dev-master 2018-10-17 05:56 UTC

This package is auto-updated.

Last update: 2021-11-17 13:02:08 UTC


This CLI command uses Tinypng Magento 2 module with valid API key to compress jpeg,jpg,png images in pub media(excluding cache, tmp and .thumbs) directory.


  1. Instal and configure Tintypng Magento 2 module(
  2. Copy, clone files to app/code or use composer require robertrupa/tinypng-optimize-all
  3. run: php bin/magento setup:upgrade
  4. run: php bin/magento konatsu:tinypng:optimize-all