0

I'm trying to resize product view page image in mobile view. it's very small and not visible

enter image description here

I tried resizing by adding new size in <Theme Root>/etc/view.xml and php bin/magento catalog:images:resize

<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="product_base_image" type="large_image">
    <width>500</width>
    <height>500</height>
</image>
<image id="category_page_grid" type="small_image">
    <width>350</width>
    <height>350</height>
</image>
    </images>
</media>

But i didn't got any changes

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.