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.8.0(1y ago)16125.5k—2.4%14[2 issues](https://github.com/schmitzal/tinyimg/issues)[2 PRs](https://github.com/schmitzal/tinyimg/pulls)GPL-3.0-or-laterPHPPHP ^8.3

Since Apr 27Pushed 1y ago6 watchersCompare

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

READMEChangelog (8)Dependencies (6)Versions (15)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

50

—

FairBetter than 96% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity43

Moderate usage in the ecosystem

Community19

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 90.5% 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 ~210 days

Recently: every ~305 days

Total

14

Last Release

570d ago

### 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)")[![bmack](https://avatars.githubusercontent.com/u/165630?v=4)](https://github.com/bmack "bmack (1 commits)")[![halbkreativ](https://avatars.githubusercontent.com/u/6579458?v=4)](https://github.com/halbkreativ "halbkreativ (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)")

---

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

[ps/image-optimizer

Image optimization / compression library. This library is able to optimize png, jpg and gif files in very easy and handy way. It uses optipng, pngquant, pngcrush, pngout, gifsicle, jpegoptim and jpegtran tools.

9341.7M25](/packages/ps-image-optimizer)[kinglozzer/tinypng

TinyPNG PHP API

1292.1k2](/packages/kinglozzer-tinypng)[spacecatninja/imager-x

Ninja powered image transforms.

29390.0k23](/packages/spacecatninja-imager-x)[tinify/magento2

Make your web shop faster by compressing your JPEG and PNG images. This plugin automatically optimizes your images by integrating with the popular image compression services TinyJPG and TinyPNG.

4345.8k](/packages/tinify-magento2)[sadovojav/yii2-image-thumbnail

Yii2 image thumbnail component

2142.1k](/packages/sadovojav-yii2-image-thumbnail)[gtuk/image-optimizer

PHP image optimizer for png, jpeg and gif files. It uses mozjpeg, pngquant and gifsicle for the optimization process

161.6k](/packages/gtuk-image-optimizer)

PHPackages © 2026

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