PHPackages                             blackbird-agency/magento2-module-image-resizer - 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. blackbird-agency/magento2-module-image-resizer

ActiveMagento2-module[Image &amp; Media](/categories/media)

blackbird-agency/magento2-module-image-resizer
==============================================

Magento 2 Module to add simple image resizing capabilities in all blocks and .phtml templates

2.1.2(3y ago)0620OSL-3.0PHPPHP ^7.0|^8.0

Since Oct 13Pushed 3y agoCompare

[ Source](https://github.com/blackbird-agency/magento2-module-image-resizer)[ Packagist](https://packagist.org/packages/blackbird-agency/magento2-module-image-resizer)[ RSS](/packages/blackbird-agency-magento2-module-image-resizer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (15)Used By (0)

Magento 2 Image Resizer
=======================

[](#magento-2-image-resizer)

Magento 2 Module to add simple image resizing capabilities in all blocks and .phtml templates

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

[](#installation)

```
$ composer config "repositories.magento2-module-image-resizer" "vcs" "git@github.com:IndieGroup/magento2-module-image-resizer.git"
$ composer require "staempfli/magento2-module-image-resizer":"~2.0"

```

Usage
-----

[](#usage)

`imageResizer` is automatically available in all frontend Blocks. You can resize your images just calling a method:

```
/** @var \Staempfli\ImageResizer\Model\Resizer $imageResizer */
$imageResizer = $block->getImageResizer();
$resizedImageUrl = $imageResizer->resizeAndGetUrl(, $width, $height, [$resizeSettings]);
```

You can do that directly on the .phtml or in your custom Block.

Cache
-----

[](#cache)

Resized images are saved in cache to improve performance. That way, if an image was already resized, we just use the one in cache.

If you need to, you can clear the resized images cache on the Admin Cache Management

[![Admin Clear Resized Images Cache](docs/img/admin-clear-cache.png "Clear Resized Images Cache")](docs/img/admin-clear-cache.png)

Prerequisites
-------------

[](#prerequisites)

- PHP &gt;= 7.0.\*
- Magento &gt;= 2.1.\*

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 52.4% 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 ~209 days

Recently: every ~401 days

Total

12

Last Release

1192d ago

Major Versions

1.1 → 2.02017-10-27

PHP version history (4 changes)1.0PHP ~7.0.0

2.0.1PHP ^7.0.0

2.0.4PHP ^7.0

v2.1.1PHP ^7.0|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12445118?v=4)[anthony-blackbird](/maintainers/anthony-blackbird)[@anthony-blackbird](https://github.com/anthony-blackbird)

---

Top Contributors

[![jalogut](https://avatars.githubusercontent.com/u/6410900?v=4)](https://github.com/jalogut "jalogut (22 commits)")[![audef1](https://avatars.githubusercontent.com/u/4160004?v=4)](https://github.com/audef1 "audef1 (7 commits)")[![Integrated-Engineering-Jenkins](https://avatars.githubusercontent.com/u/36773381?v=4)](https://github.com/Integrated-Engineering-Jenkins "Integrated-Engineering-Jenkins (2 commits)")[![rtesson-bird](https://avatars.githubusercontent.com/u/104067856?v=4)](https://github.com/rtesson-bird "rtesson-bird (2 commits)")[![staempfli-webteam](https://avatars.githubusercontent.com/u/19466159?v=4)](https://github.com/staempfli-webteam "staempfli-webteam (2 commits)")[![DavidLambauer](https://avatars.githubusercontent.com/u/1841317?v=4)](https://github.com/DavidLambauer "DavidLambauer (2 commits)")[![zekkai707](https://avatars.githubusercontent.com/u/163116163?v=4)](https://github.com/zekkai707 "zekkai707 (1 commits)")[![clivewalkden](https://avatars.githubusercontent.com/u/1225802?v=4)](https://github.com/clivewalkden "clivewalkden (1 commits)")[![MidnightDesign](https://avatars.githubusercontent.com/u/743172?v=4)](https://github.com/MidnightDesign "MidnightDesign (1 commits)")[![nocturnalfrog](https://avatars.githubusercontent.com/u/1250532?v=4)](https://github.com/nocturnalfrog "nocturnalfrog (1 commits)")[![schmengler](https://avatars.githubusercontent.com/u/367320?v=4)](https://github.com/schmengler "schmengler (1 commits)")

### Embed Badge

![Health badge](/badges/blackbird-agency-magento2-module-image-resizer/health.svg)

```
[![Health](https://phpackages.com/badges/blackbird-agency-magento2-module-image-resizer/health.svg)](https://phpackages.com/packages/blackbird-agency-magento2-module-image-resizer)
```

###  Alternatives

[milon/barcode

Barcode generator like Qr Code, PDF417, C39, C39+, C39E, C39E+, C93, S25, S25+, I25, I25+, C128, C128A, C128B, C128C, 2-Digits UPC-Based Extention, 5-Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI (Variation of Plessey code)

1.5k13.3M39](/packages/milon-barcode)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[char0n/ffmpeg-php

PHP wrapper for FFmpeg application

495225.1k1](/packages/char0n-ffmpeg-php)[goat1000/svggraph

Generates SVG graphs

132849.6k3](/packages/goat1000-svggraph)[cohensive/embed

Media Embed (for Laravel or as a standalone).

120370.4k](/packages/cohensive-embed)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)

PHPackages © 2026

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