Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 2.8 KB

README.md

File metadata and controls

28 lines (20 loc) · 2.8 KB

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())