Magento - adding several types of images with a product

I need to add several types of images with a product such as .. Image of the product designer (developed), product quality assurance logo ..., as well as the image of the product.

Other types of images may also be 0 or more than 1 image, for example. Product quality assurance logo may be more than 1 image.

I tried to add a new attribute with the type "Directory entry type for the store owner" as the "Media Image", which added a column to the "Product Image" tab using the radio button when creating the product. (Catalog> Attributes> Attribute Management)

How can I handle different types of images for a product?

+5
source share
2 answers

Depending on how you use them, image shortcuts are actually quite convenient. Each time the image gallery is uploaded, you will have them available and you can change them. This, of course, is a hacking solution, but much faster than trying to change the gallery code.

How will you display these images in the end? The second level of development here will be adding attributes to the product (similar to small_image and its associated attributes) and using event bindings to update these columns while saving the product. This will allow you to quickly find the images that you use for these purposes, while maintaining the usual image loading panel.

, !

,

+2

, , , PHP . product/view.phtml, , product/view/media.phtml, .

"" -, ( ).

+1

All Articles