Tiny_Compresss_Images

Magento Extension
Download latest - 2.0.1

Developers

TinyPNG (Tiny)

# Compress JPEG & PNG images for Magento 1

Make your Magento 1 store faster by compressing your JPEG and PNG images.

This plugin automatically optimizes your images by integrating with the
popular image compression services TinyJPG and TinyPNG.

Learn more about TinyJPG and TinyPNG at https://tinypng.com/.

Do you use Magento 2? Install our Magento 2 plugin instead:
https://packagist.org/packages/tinify/magento2

## How does it work?

When you view a product in your webshop, Magento creates different image sizes
in its cache folders. This extension will compress these images for you
automatically. Any image sizes that are exact duplicates of each other will
only be compressed once.

Your product images are uploaded to the TinyJPG or TinyPNG service and
analyzed to apply the best possible compression. Based on the content of the
image an optimal strategy is chosen. The result is sent back to your Magento
webshop and saved in your public media folder.

On average JPEG images are compressed by 40-60% and PNG images by 50-80%
without visible loss in quality. Your webshop will load faster for your
visitors, and you’ll save storage space and bandwidth!

## Getting started

Obtain your free API key from https://tinypng.com/developers. The first 500
compressions per month are completely free, no strings attached! As each
product will be shown in different sizes, between 50 and 100 products can be
uploaded to your Magento webshop and compressed for free. You can also change
which of types of image sizes should be compressed.

If you’re a heavy user, you can compress additional images for a small
additional fee per image by upgrading your account. You can keep track of the
amount of compressions in the Magento 1 configuration section.

## Installation

Copy the extension key from Magento Connect. Login on your webshop backend
and open *System -> Magento Connect -> Magento Connect Manager*.
Paste the extension key to install the extension.

After installation, go to *System -> Configuration -> Image Optimization*, and
enter your TinyPNG API Key. Flush the images cache to start compressing.

## Contact us

Got questions or feedback? Let us know! Contact us at support@tinypng.com.

## Information for plugin contributors

* PHP 5.4 or newer.
* MySQL 5.4 or newer (integration tests).
* Magento 1.8.0.0 or newer.
* phpunit 4.8 or newer.

### Running the unit tests

From the .modman/Tiny_CompressImages directory:

phpunit

Releases (4)

Date Version Notes
2017-01-10 2.0.1

==== 2.0.1 ====
Release notes:
- Support for servers with open basedir enabled.
- Better warnings.
- Linting & speed improvements for Travis CI.
- Added an space to an sentence for readability.
- Better handling of the Tinify\AccountException so the logs won't
be clutherd.
- Updated the Tinify PHP client.

==== 2.0.0 ====
The extension now recognises duplicate images in your Magento store. This will save even more bandwidth and reduces the number of compressions. The settings screen has been rewritten to show the latest compressions. And all compressed images are now stored separately so they don't get lost when you clear the cache. We are very happy with all these new improvements, hope you like them as much as we do!

2016-07-20 2.0.0

==== 2.0.0 ====
Public release - Completely Rebuild code

2015-05-15 1.0.1

Handle errors from service

2015-04-10 1.0.0

First version