fond-of-spryker / product-image-storage
Add product abstract imagesset by given name
Installs: 12 669
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
pkg:composer/fond-of-spryker/product-image-storage
Requires
- php: >=7.1
 - spryker/customer: ^7.10.2
 - spryker/glossary: ^3.0.0
 - spryker/kernel: ^3.0.0
 - spryker/product-image-storage: ^1.0.1
 - spryker/zed-request: ^3.0.0
 
Requires (Dev)
- codeception/codeception: ^2.3
 - mikey179/vfsstream: ^1.6
 - php-coveralls/php-coveralls: ^2.0
 - phpro/grumphp: ^0.14
 - sebastian/phpcpd: ^4.0
 - spryker/application: ^3.0.0
 - spryker/code-sniffer: ^0.11
 - spryker/kernel: ^3.0.0
 
This package is auto-updated.
Last update: 2025-10-08 00:15:21 UTC
README
Add more multiple image sets to your product.
By default, only one image is provided in the ProductViewTransfer object. This module adds a new field to "ProductViewTransfer" which called "imageSets". In this field you can add your own image sets as much as you like.
Install
composer require fond-of-spryker/product-image-storage
vendor/bin/console transfer:generate
Configuration
Open the existing "ProductStorageDependencyProvider" (mostly stored in Pyz\Client\ProductStorage) and replace the ProductViewImageExpanderPlugin() with the new one of this module.
use FondOfSpryker\Client\ProductImageStorage\Plugin\ProductViewImageExpanderPlugin;
After that you only need to configure which image sets you want. Open your store config and lets insert some image sets :)
// ---------- Image sets
 $config[\FondOfSpryker\Shared\ProductImageStorage\ProductImageStorageConstants::IMAGES_SET_TO_ADD] = [
     'SetOne',
     'SetTow'
 ];'
Take a look in ZED to get the name of your sets.