cancel
Showing results for 
Search instead for 
Did you mean: 

Add 3 Image Attributes on Product Site

Add 3 Image Attributes on Product Site

Hi Community, i have actually the Problem that my Products have always 3 Images. 

I want to Show them on the Product Site without a gallery. 

Any idea how i can set them ? 

 

Best Regards Cem Grossenbacher

3 REPLIES 3

Re: Add 3 Image Attributes on Product Site

@cembo90 Not sure, do you want to show three images on product detail page Or products list page ?

And without gallery means ? Kindly address your needs fully so anyone here can help you.

 

Cheers

-
Magento Programmer | Was my answer helpful? You can accept it as a solution.

Re: Add 3 Image Attributes on Product Site

Hi GMehta, i have uploaded these three images on the product site in the backend. 

 

Now on my Product Detail Site i have a Gallery on the left side, which the three images are in there.( i can just slide them ) 

 

But what i try to do is to shown these three images on the detail page without that gallery. 

 

Best regards

Re: Add 3 Image Attributes on Product Site

@cembo90 Okay, so for that you need to write piece of code and some changes into CSS, layout.

Follow and Edit - <yourtheme>/default/template/catalog/product/view.phtml

Find below code:
<?php echo $this->getChildHtml('media') ?>

From here, it called media gallery file.  And In order to get all images of products

 

$product = $this->getProduct();
$galleryData = $product->getData('media_gallery');

Good luck

 

-
Magento Programmer | Was my answer helpful? You can accept it as a solution.