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

  • You are run images resize command?? – Mohit Patel Mar 3 at 6:18
  • I did it but doesn't work – Ramalakshmi T Mar 3 at 6:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.