cancel
Showing results for 
Search instead for 
Did you mean: 

Bigger product image on product page

Bigger product image on product page

I would like to make the product images bigger on the product page

I tried to increase these values in the following file:

 

app/design/frontend/danisa/danisa_default/etc/view.xml

<image id="product_page_main_image" type="image">
            <width>198</width>
            <height>198</height>
        </image>
        <image id="product_page_main_image_default" type="image">
            <width>198</width>
            <height>198</height>
        </image>

But, It doesn't appear to change anything.

1 REPLY 1

Re: Bigger product image on product page

@mardz

Magento 2 use below tag for big image

 

 <image id="product_page_image_large" type="image"/>

 

you need to edit height and width for that.


After edit it, please flush the cache.

 

If it will work then mark as solution.


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer