Skip to content

Fix for Magento 2. It fixes the case when there is no a required option swatch image in media.

Notifications You must be signed in to change notification settings

onepica/mage2-dev-no-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento 2 module: No Image

Description

Fix for Magento 2 (tested on v2.1.6).

It fixes the case when there is no a required option swatch image in media (and maybe other cases for lost images).

It's quite useful after database migration during development.

Installation via composer

composer require --dev onepica/mage2-dev-no-image

Details

On initiate an image the module will create small placeholder (20x20 px) by the same image path.

Warning

Please be aware this module will overwrite the class Magento\Framework\Image.

About

Fix for Magento 2. It fixes the case when there is no a required option swatch image in media.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages