Wed. May 14th, 2025

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.
May 2025
M T W T F S S
« Jun    
 1234
567891011
12131415161718
19202122232425
262728293031