PHPackages                             schmitzal/tinyimg - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. schmitzal/tinyimg

ActiveTypo3-cms-extension[Image &amp; Media](/categories/media)

schmitzal/tinyimg
=================

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

1.9.0(2mo ago)16131.1k↓54%14[3 issues](https://github.com/schmitzal/tinyimg/issues)GPL-3.0-or-laterPHPPHP ^8.4CI passing

Since Apr 27Pushed 1mo ago6 watchersCompare

[ Source](https://github.com/schmitzal/tinyimg)[ Packagist](https://packagist.org/packages/schmitzal/tinyimg)[ RSS](/packages/schmitzal-tinyimg/feed)WikiDiscussions main Synced yesterday

READMEChangelog (10)Dependencies (12)Versions (19)Used By (0)

TYPO3 Extension tinyimg
=======================

[](#typo3-extension-tinyimg)

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

What does it do?
----------------

[](#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:

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

Installation
------------

[](#installation)

`composer require schmitzal/tinyimg`

Configuration
-------------

[](#configuration)

1. Create an API key\* at
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)*

Setup for already existing projects
-----------------------------------

[](#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.

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)".

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.

TypoScript reference
--------------------

[](#typoscript-reference)

Configuration has been moved to extension settings

Contribution
------------

[](#contribution)

Bugs and feature requests are welcome. Feel free to create an [issue](https://github.com/schmitzal/tinyimg/issues), and I'll have a look at it as soon as possible.

Code improvements are also highly appreciated.

Sponsoring
----------

[](#sponsoring)

This extension is powered by [OPEN Digitalgruppe GmbH](https://www.open.de/). Most of the time working on this extension is at work, so my thanks go to Open. :)

###  Health Score

64

—

FairBetter than 99% of packages

Maintenance86

Actively maintained with recent releases

Popularity43

Moderate usage in the ecosystem

Community21

Small or concentrated contributor base

Maturity89

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 88.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~219 days

Recently: every ~397 days

Total

16

Last Release

71d ago

PHP version history (2 changes)1.8.0PHP ^8.3

1.8.1PHP ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/652454ba8c7a67069f8a7ddb01677ebf518b29d45fd060c093c83e019d2251dc?d=identicon)[schmitzal](/maintainers/schmitzal)

---

Top Contributors

[![schmitzal](https://avatars.githubusercontent.com/u/2011229?v=4)](https://github.com/schmitzal "schmitzal (86 commits)")[![achimfritz](https://avatars.githubusercontent.com/u/2152991?v=4)](https://github.com/achimfritz "achimfritz (5 commits)")[![halbkreativ](https://avatars.githubusercontent.com/u/6579458?v=4)](https://github.com/halbkreativ "halbkreativ (1 commits)")[![konradmichalik](https://avatars.githubusercontent.com/u/4558190?v=4)](https://github.com/konradmichalik "konradmichalik (1 commits)")[![MohsinQK](https://avatars.githubusercontent.com/u/1622975?v=4)](https://github.com/MohsinQK "MohsinQK (1 commits)")[![px-flo](https://avatars.githubusercontent.com/u/60377392?v=4)](https://github.com/px-flo "px-flo (1 commits)")[![sorenmalling](https://avatars.githubusercontent.com/u/531918?v=4)](https://github.com/sorenmalling "sorenmalling (1 commits)")[![bmack](https://avatars.githubusercontent.com/u/165630?v=4)](https://github.com/bmack "bmack (1 commits)")

---

Tags

imagecompressiontinypngtinyjpgtinify

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/schmitzal-tinyimg/health.svg)

```
[![Health](https://phpackages.com/badges/schmitzal-tinyimg/health.svg)](https://phpackages.com/packages/schmitzal-tinyimg)
```

###  Alternatives

[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

611.1M8](/packages/netresearch-rte-ckeditor-image)[kinglozzer/tinypng

TinyPNG PHP API

1395.5k2](/packages/kinglozzer-tinypng)[pagemachine/typo3-formlog

Form log for TYPO3

23238.6k8](/packages/pagemachine-typo3-formlog)[typo3/cms-seo

TYPO3 CMS SEO - SEO features including specific fields for SEO purposes, rendering of HTML meta tags and sitemaps.

168.9M155](/packages/typo3-cms-seo)[eliashaeussler/typo3-form-consent

Extension for TYPO3 CMS that adds double opt-in functionality to EXT:form

1595.5k](/packages/eliashaeussler-typo3-form-consent)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
