numero2/contao-tinypng

Installs: 984

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 2

Forks: 0

Open Issues: 2

Type:contao-module

v4.0.0 2017-06-08 10:24 UTC

This package is auto-updated.

Last update: 2024-06-14 23:50:43 UTC


README

Contao TinyPNG

About

Automatically optimizes all uploaded PNG and JPEG images using tinypng.com's image optimizer.

System requirements

Installation & Configuration

  • Create a folder named tinypng in system/modules
  • Clone this repository into the new folder
  • Obtain an API key and enter it into the System Settings under Upload settings

Additional step for Contao 4.X: Open app/AppKernel.php and add the following line to the $bundles array

new Contao\CoreBundle\HttpKernel\Bundle\ContaoModuleBundle('tinypng', $this->getRootDir())