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. [Utility &amp; Helpers](/categories/utility)
4. /
5. integration-helper/base-image

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

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

Integration Helper. Base Image

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

Since Oct 31Pushed 9mo 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 today

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

35

—

LowBetter than 77% of packages

Maintenance57

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

280d 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

[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1011.8k24](/packages/loki-magento2-components)[mollie/magento2

Mollie Payment Module for Magento 2

1131.9M16](/packages/mollie-magento2)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68357.9k](/packages/run-as-root-magento2-prometheus-exporter)[baldwin/magento2-module-url-data-integrity-checker

Magento 2 module which can find potential url related problems in your catalog data

282822.9k](/packages/baldwin-magento2-module-url-data-integrity-checker)[magepal/magento2-form-field-manager

Customer and Address Form Fields Manager for Magento2

293.9k](/packages/magepal-magento2-form-field-manager)[myparcelnl/magento

A Magento 2 module that creates MyParcel labels

1860.2k](/packages/myparcelnl-magento)

PHPackages © 2026

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