Download the PHP package perfect-code/module-product-media-uploader without Composer
On this page you can find all versions of the php package perfect-code/module-product-media-uploader. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download perfect-code/module-product-media-uploader
More information about perfect-code/module-product-media-uploader
Files in perfect-code/module-product-media-uploader
Package module-product-media-uploader
Short Description This module for Magento 2 helps to download an image from external URL for further save it as a product media gallery entry.
License GPL-3.0
Informations about the package module-product-media-uploader
Introduction.
This module for Magento 2 helps to download an image from external URL for further save it as a product media gallery entry.
The image will be saved on disk with the same name (name can be configured).
Configuration.
Here you can define module basic settings.
Usage.
Quickstart.
Inject \PerfectCode\ProductMediaUploader\Api\MediaEntryGeneratorInterface
to your constructor and push URL to the image you want to add to your product.
This will save my-image.jpg
to pub/media
folder and assign this image on the product, based on settings configured above.
Save an image with a different title.
Then create a plugin on \PerfectCode\ProductMediaUploader\Api\MediaEntryGeneratorInterface::getImageName
method and reuse pushed parameter 'some_attribute'.
All versions of module-product-media-uploader with dependencies
ext-json Version *
laminas/laminas-validator Version *
magento/framework Version *
magento/module-catalog Version *
magento/module-config Version *
magento/magento-composer-installer Version *