I have this XML to set my image sizes for both related products and my catalog widget on my home page. The Related Products portion works but the home page one doesn't.

    <images module="Magento_Catalog">
        <image id="related_products_list" type="small_image">
        <image id="category_page_grid" type="small_image">
  • Can you please specify file path of view.xml. – Abhishek Panchal Jan 3 '19 at 15:26
  • My_Theme/etc/view.xml – Matthew McLennan Jan 3 '19 at 15:28
  • Which size its displays on Home page? – Abhishek Panchal Jan 3 '19 at 15:31
  • I found my issue. I called the wrong image id. <image id="new_products_content_widget_grid" type="small_image"> <width>222</width> <height>222</height> <aspect_ratio>true</aspect_ratio> </image> – Matthew McLennan Jan 3 '19 at 15:34

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.