PHPackages                             oro/image-optimization - 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. oro/image-optimization

ActiveLibrary[Image &amp; Media](/categories/media)

oro/image-optimization
======================

Allows to control the quality of images using the UI. Optimizes images thereby reducing the overall storage size.

4.1.2(4y ago)05.3kMITPHP

Since Sep 14Pushed 4y ago8 watchersCompare

[ Source](https://github.com/oroinc/image-optimization)[ Packagist](https://packagist.org/packages/oro/image-optimization)[ Docs](https://github.com/oroinc/image-optimization)[ RSS](/packages/oro-image-optimization/feed)WikiDiscussions 4.1 Synced 1w ago

READMEChangelog (2)Dependencies (1)Versions (7)Used By (0)

OroImageOptimizationBundle
==========================

[](#oroimageoptimizationbundle)

**⚠️ Since v4.2 this functionality is a part of OroPlatform, and the extension is not needed.**

OroImageOptimizationBundle enables an administrator to control the quality of images using the UI, thereby reducing the size of images in storage.

Configure Processors
--------------------

[](#configure-processors)

### Libraries

[](#libraries)

OroImageOptimizationBundle supports the following libraries:

- [pngquant](https://pngquant.org/) - utility for lossy compression of PNG images.
- [jpegoptim](https://github.com/tjko/jpegoptim) - utility to optimize/compress JPEG files.

For proper work, you need libraries whose versions correspond to the following:

- pngquant &gt;= 2.5.0
- jpegoptim &gt;= 1.4.0

### Configuration for Setup

[](#configuration-for-setup)

To configure the package you need to add the following options to the parameters.yml:

```
  liip_imagine.pngquant.binary: /usr/bin/pngquant
  liip_imagine.jpegoptim.binary: /usr/bin/jpegoptim
```

> - Processors are external libraries, so they need to be installed separately.
> - If the configuration specifies the incorrect paths to the libraries, their versions do not match or libraries are not installed, the system will work without image processing, and these settings will not be available and will not be displayed in the system configuration.
> - If the configuration is not specified explicitly, the system will try to find libraries automatically and will log errors if the library is not found.

### UI Configuration

[](#ui-configuration)

- **JPEG Resize Quality (%)** - values from 30 to 100, the higher the value, the better the image quality.
- **PNG Resize Quality (%)** - ‘Preserve quality’ and ‘Minimize file size’. Indicates how much you want to reduce the image quality.

Resources
---------

[](#resources)

- [OroCommerce, OroCRM and OroPlatform Documentation](https://doc.oroinc.com)
- [Liip imagine](https://github.com/liip/LiipImagineBundle)
- [pngquant](https://pngquant.org)
- [jpegoptim](https://github.com/tjko/jpegoptim)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~98 days

Recently: every ~145 days

Total

7

Last Release

1481d ago

Major Versions

3.1.0 → 4.1.12020-09-23

3.1.x-dev → 4.1.22021-06-14

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/30661063?v=4)[Oro, Inc](/maintainers/orocrm)[@orocrm](https://github.com/orocrm)

---

Top Contributors

[![anyt](https://avatars.githubusercontent.com/u/5183991?v=4)](https://github.com/anyt "anyt (2 commits)")[![oro-panasiukr](https://avatars.githubusercontent.com/u/39378223?v=4)](https://github.com/oro-panasiukr "oro-panasiukr (2 commits)")

---

Tags

imageoptimizationOROOroPlatformOroCrmOroCommerce

### Embed Badge

![Health badge](/badges/oro-image-optimization/health.svg)

```
[![Health](https://phpackages.com/badges/oro-image-optimization/health.svg)](https://phpackages.com/packages/oro-image-optimization)
```

###  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)[joshembling/image-optimizer

Optimize your Filament images before they reach your database.

111145.4k12](/packages/joshembling-image-optimizer)[danihidayatx/image-optimizer

Optimize your Filament images before they reach your database. Forked from joshembling/image-optimizer for Filament v4 &amp; v5 support.

254.4k](/packages/danihidayatx-image-optimizer)[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)[ideatic/tinyfier

Complete suite for compressing, preprocessing, and optimizing HTML/Javascript/CSS and Images.

103.3k](/packages/ideatic-tinyfier)

PHPackages © 2026

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