1.use function addImageToMediaGallery addImageToMediaGallery (line 956) Add image to media gallery access: public void addImageToMediaGallery (string $file, , , ) string $file: file path of image in file system string|array $mediaAttribute: code of attribute with type 'media_image', leave blank if image...
Tag: image
magento
Image Type and Size
The following image types are used throughout the catalog, and you can choose which image you want to use for each. If you do not assign an image to each type, a placeholder image will be used instead. Thumbnail The...