PHPackages                             mohsinqk/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. mohsinqk/tinyimg

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

mohsinqk/tinyimg
================

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

1.9.0(5mo ago)01GPL-3.0-or-laterPHPPHP ^8.3

Since Jan 26Pushed 5mo agoCompare

[ Source](https://github.com/MohsinQK/tinyimg)[ Packagist](https://packagist.org/packages/mohsinqk/tinyimg)[ RSS](/packages/mohsinqk-tinyimg/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (6)Versions (2)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

35

—

LowBetter than 77% of packages

Maintenance72

Regular maintenance activity

Popularity1

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.8% 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

Unknown

Total

1

Last Release

158d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1622975?v=4)[Mohsin Khan](/maintainers/MohsinQK)[@MohsinQK](https://github.com/MohsinQK)

---

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)")[![MohsinQK](https://avatars.githubusercontent.com/u/1622975?v=4)](https://github.com/MohsinQK "MohsinQK (4 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)")[![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/mohsinqk-tinyimg/health.svg)

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

###  Alternatives

[schmitzal/tinyimg

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

16131.1k](/packages/schmitzal-tinyimg)[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)
