PHPackages                             integration-helper/base-image - 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. integration-helper/base-image

ActiveMagento2-module

integration-helper/base-image
=============================

Integration Helper. Base Image

1.0.6(7mo ago)039OSL-3.0PHPPHP ~8.1.0||~8.2.0

Since Oct 31Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/Vladwww2015/integration-helper-base-image)[ Packagist](https://packagist.org/packages/integration-helper/base-image)[ RSS](/packages/integration-helper-base-image/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (3)Versions (8)Used By (0)

Magento 2 Module
================

[](#magento-2-module)

Usage
-----

[](#usage)

### 1) Create di.xml

[](#1-create-dixml)

```

            catalog/product
            catalog/product/resized
            product_page_small_image
            true
            true
            true
            true
            100
            100
            100

            resizer_product_image_crit
            Example\SomeExtension\Model\ProductPageSmallImageConfig

    !!!! Important to use ImageResizerPool, cause it can be use for clear resized folder from old images

                Example\SomeExtension\Model\ProductPageSmallImageResizer

            saver_product_image_crit
            Example\SomeExtension\Model\ProductPageSmallImageConfig

                Example\SomeExtension\Model\ProductPageSmallImageSaver

            uploader_product_image_crit
            IntegrationHelper\BaseImage\Model\ProductImageUploaderConfig

                Example\SomeExtension\Model\UploaderImageSource

                Example\SomeExtension\Model\ProductImageUploader

            cleaner_product_image_crit
            Example\SomeExtension\Model\ProductPageSmallImageConfig

    !!!! Important to use ImageResizerPool, cause it can be use for clear resized folder from old images

                Example\SomeExtension\Model\ProductPageSmallImageCleaner

```

### 2) Create And Get Resize Url

[](#2-create-and-get-resize-url)

```
namespace Example\SomeExtension\Block;

use IntegrationHelper\BaseImage\Api\ImageProcessorManagerInterface;
use IntegrationHelper\BaseImage\Api\ImageProcessorArgInterface;
use Example\SomeExtension\Model\Entity;

class SomeTemplate {
    public function __construct(
        ...
        protected ImageProcessorArgInterface $imageProcessorArg,
        protected ImageProcessorManagerInterface $imageProcessorManager
    ){}

    public function resizeAndGetUrl(Entity $entity)
    {
        try {
            $arg = $this->imageProcessorArg->setArgs([
                'name' => 'product_page_small_image',
                'image' => $entity->getImageName()
            ]);
            $processName = 'resizer'; //'saver', 'cleaner', 'optimizer'
            $result = $this->imageProcessorManager->runProcessByNameAndGetResult($processName, $arg);
            $image = $result->getData();
        } catch (\Throwable $e) {
            $image = '';
        }

        return $image;
    }
}
```

### 3) Get Resized Image Url inside template

[](#3-get-resized-image-url-inside-template)

```
/**
* @var \Example\SomeExtension\Block\SomeTemplate $block
*/
    $imageResizedUrl = $block->resizeAndGetUrl($block->getEntity());
```

###  Health Score

37

—

LowBetter than 82% of packages

Maintenance67

Regular maintenance activity

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~55 days

Recently: every ~82 days

Total

7

Last Release

225d ago

PHP version history (2 changes)1.0.0PHP ^8.2

1.0.1PHP ~8.1.0||~8.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/827376d44a1aa3c92c966ae0907687568a3a67ac0511d6705b9f9cb27dba39dd?d=identicon)[spacecode](/maintainers/spacecode)

---

Top Contributors

[![Vladwww2015](https://avatars.githubusercontent.com/u/20088319?v=4)](https://github.com/Vladwww2015 "Vladwww2015 (7 commits)")

### Embed Badge

![Health badge](/badges/integration-helper-base-image/health.svg)

```
[![Health](https://phpackages.com/badges/integration-helper-base-image/health.svg)](https://phpackages.com/packages/integration-helper-base-image)
```

###  Alternatives

[smile/elasticsuite

Magento 2 merchandising and search engine built on ElasticSearch

8044.5M33](/packages/smile-elasticsuite)[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50374.2k18](/packages/dotdigital-dotdigital-magento2-extension)[swissup/module-search-mysql-legacy

Legacy mysql search for magento 2.4

10483.0k](/packages/swissup-module-search-mysql-legacy)[lizardmedia/module-varnish-warmer

Varnish Cache Warmer Magento2 module by Lizard Media

6276.8k](/packages/lizardmedia-module-varnish-warmer)[fredden/magento2-module-javascript-error-reporting

A Magento 2 module which captures JavaScript errors for later review by website administrators

3138.1k](/packages/fredden-magento2-module-javascript-error-reporting)[magepal/magento2-form-field-manager

Customer and Address Form Fields Manager for Magento2

293.8k](/packages/magepal-magento2-form-field-manager)

PHPackages © 2026

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