0

I have changed the size of image in view.xml as

 <?xml version="1.0"?>
<!--
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
-->
<view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/view.xsd">


    <media>
        <images module="Magento_Catalog">
            <image id="category_page_grid" type="small_image">
                <width>165</width>
                <height>186</height>
            </image>
            <image id="category_page_list" type="small_image">
                <width>165</width>
                <height>186</height>
            </image>
        </images>
    </media>

in my mobile theme.

After this, I flushed the cache and upgraded it but the resulted as

the resulted output

2
  • You are run images resize command?? Mar 3, 2020 at 6:18
  • I did it but doesn't work Mar 3, 2020 at 6:30

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.