2017 © Pedro Peláez
 

typo3-cms-extension tinyimg

image

schmitzal/tinyimg

  • Friday, June 22, 2018
  • by schmitzal
  • Repository
  • 7 Watchers
  • 12 Stars
  • 73 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 5 Open issues
  • 6 Versions
  • 1117 % Grown

The README.md

TYPO3 Extension tinyimg

Image compression for all pngs and jpgs uploaded to the backend (using the tinypng API), (*1)

What does it do?

It's a small extension, that hooks (using events) into the TYPO3 file upload and compresses every jpg or png uploaded to the backend using the tinify API: https://tinypng.com/developers, (*2)

This API can reduce up to 80% of the file size of your images, which will increase your page speed. Without loosing quality., (*3)

Installation

composer require schmitzal/tinyimg, (*4)

Configuration

  1. Create an API key* at https://tinypng.com/developers
  2. Enter the API key* in the extension configuration
  3. Disables compression in extension settings if desired, so you won't lose compressions during development and testing
  4. Have a nice day :)

_*Note that the tinify API is limited to 500 compressions per month. If you need more, there is a paid version which can be activated in your dashboard (where you got your API key)_, (*5)

Setup for already existing projects

This extension contains a command which runs through all file storages and compresses 100 images in it on each run. Depending on the size of these images this takes a while., (*6)

Make sure to have an updated index. TYPO3 comes with an index updater as a scheduler task called "File Abstraction Layer: Update storage index (scheduler)"., (*7)

Also be aware that the tinify API is limited to 500 free compressions (see note above). So on huge websites it will be reached quickly., (*8)

TypoScript reference

Configuration has been moved to extension settings, (*9)

Contribution

Bugs and feature requests are welcome. Feel free to create an issue, and I'll have a look at it as soon as possible., (*10)

Code improvements are also highly appreciated., (*11)

Sponsoring

This extension is powered by OPEN Digitalgruppe GmbH. Most of the time working on this extension is at work, so my thanks go to Open. :), (*12)

The Versions

22/06 2018

dev-master

9999999-dev

  Sources   Download

The Requires

 

22/06 2018

dev-develop

dev-develop

  Sources   Download

The Requires

 

20/06 2018

dev-feature/codesniffer

dev-feature/codesniffer

  Sources   Download

GPL-3.0-or-later

The Requires

 

The Development Requires

image compression tinypng tinyjpg tinify

20/06 2018