Thu. Jul 4th, 2024

1. Magento. how to change thumbnails’ sizes

1 min read

Magento._How_to_change_thumbnails'_sizes_1

Before you proceed, please, make sure your Magento cache is refreshed and disabled.

  1. First, log into the cPanel dashboard or use FTP connection.
  2. This leads you to the main cPanel area. From here, locate and enter the File Manager.
  3. Once inside the File Manager, open your store’s root folder. Most stores use the main domain, so the root folder would be public_html. If you are using a subfolder (e.g. example.com/shop) then you would look for public_html/shop.
  4. From here, navigate to the \app\design\frontend\default\themeXXX\template\ecommerceteam\cloud-zoom\catalog\product\view\ folder, where XXXX is your theme number. And edit media.phtml file using cPanel code editor. Approximately on line 111 you will see the following code
    <img src="<?php echo $this->helper('catalog/image')->init($product, 'thumbnail', $_image->getFile())->resize(97,149);?>" alt="<?php echo $this->htmlEscape($_image->getLabel()) ?>"/>
  5. Edit the resize (97,149), and save changes.
  6. Clear browser cache and check the website.
July 2024
M T W T F S S
« Jun    
1234567
891011121314
15161718192021
22232425262728
293031