Jump to content

[SOLVED] - Question About Thumbnail Regeneration


Recommended Posts

Here are the default Preferences > Images settings:

small – 45 × 45 px – Products, Categories, Manufacturers, Suppliers
medium – 80 × 80 px – Products, Categories, Manufacturers, Suppliers
large – 300 × 300 px – Products, Categories, Manufacturers, Suppliers
thickbox – 600 × 600 px – Products
category – 500 × 150 px – Categories
home – 129 × 129 px – Products
large_scene – 556 × 200 px – Scenes
thumb_scene – 161 × 58 px – Scenes

My question is

medium – 80 × 80 px – Products, Categories, Manufacturers, Suppliers

How to change only the "Categories" thumb size to 129px, but keep the "Products" thumb size to 80px..

Thanks,..

Link to comment
Share on other sites

To make the subcategory thumbnails 129 x 129px Change lines 38-42 of category.tpl in your theme's directory from:

{if $subcategory.id_image}
   <img src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium')}" alt="" />
{else}
   <img src="{$img_cat_dir}default-medium.jpg" alt="" />
{/if}



to:

{if $subcategory.id_image}
   <img src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'home')}" alt="" />
{else}
   <img src="{$img_cat_dir}default-home.jpg" alt="" />
{/if}

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...