Skip to content

Commit

Permalink
https://github.com/tradefurniturecompany/site/issues/195
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Oct 26, 2020
1 parent b41e522 commit 4087752
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions app/design/frontend/TradeFurnitureCompany/default/etc/view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,22 @@
<view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/view.xsd">
<media>
<images module="Magento_Catalog">
<!-- 2020-10-26 Dmitry Fedyuk https://www.upwork.com/fl/mage2pro
"Make images squared on the frontend category page": https://github.com/tradefurniturecompany/site/issues/195 -->
<image id="category_page_grid" type="small_image">
<width>300</width>
<height>300</height>
<constrain>false</constrain>
<aspect_ratio>true</aspect_ratio>
<frame>true</frame>
</image>
<image id="listing_image" type="listing_image">
<width>300</width>
<height>300</height>
<constrain>false</constrain>
<aspect_ratio>true</aspect_ratio>
<frame>true</frame>
</image>
<image id="bundled_product_customization_page" type="thumbnail">
<width>140</width>
<height>140</height>
Expand All @@ -20,14 +36,6 @@
<width>165</width>
<height>165</height>
</image>
<image id="category_page_grid" type="small_image">
<width>240</width>
<height>300</height>
</image>
<image id="category_page_grid-1" type="small_image">
<width>240</width>
<height>300</height>
</image>
<image id="category_page_list" type="small_image">
<width>240</width>
<height>300</height>
Expand Down Expand Up @@ -189,10 +197,6 @@
<width>240</width>
<height>300</height>
</image>
<image id="listing_image" type="listing_image">
<width>240</width>
<height>300</height>
</image>
</images>
</media>
<vars module="Magento_Catalog">
Expand Down

0 comments on commit 4087752

Please sign in to comment.