numero2 / contao-tinypng
Package info
github.com/numero2/contao-tinypng
Type:contao-module
pkg:composer/numero2/contao-tinypng
v4.0.0
2017-06-08 10:24 UTC
Requires
This package is auto-updated.
Last update: 2026-02-15 03:14:08 UTC
README
About
Automatically optimizes all uploaded PNG and JPEG images using tinypng.com's image optimizer.
System requirements
- Contao 3.2.5 or newer / successfully tested with Contao 4.3.9
- TinyPNG API key
Installation & Configuration
- Create a folder named
tinypnginsystem/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())