Andi Rahmat Posted September 24, 2010 Share Posted September 24, 2010 Here are the default Preferences > Images settings:small – 45 × 45 px – Products, Categories, Manufacturers, Suppliersmedium – 80 × 80 px – Products, Categories, Manufacturers, Supplierslarge – 300 × 300 px – Products, Categories, Manufacturers, Suppliersthickbox – 600 × 600 px – Productscategory – 500 × 150 px – Categorieshome – 129 × 129 px – Productslarge_scene – 556 × 200 px – Scenesthumb_scene – 161 × 58 px – ScenesMy question is medium – 80 × 80 px – Products, Categories, Manufacturers, SuppliersHow 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 More sharing options...
rocky Posted September 24, 2010 Share Posted September 24, 2010 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 More sharing options...
Andi Rahmat Posted September 25, 2010 Author Share Posted September 25, 2010 It works.. thanks momod.. Link to comment Share on other sites More sharing options...
rocky Posted September 25, 2010 Share Posted September 25, 2010 Please edit your first post and add [sOLVED] to the front of the title. Link to comment Share on other sites More sharing options...
aa1joe Posted November 10, 2010 Share Posted November 10, 2010 HiI'm having this problem with the sub categories thumbnails.I want the image to be a little bigger.I did edit "medium" but that also affected all medium thumbnails.I did as specified above in this thread, but it dint work for me.It throws everything out of place.http://lacefrontwigs2wowu.com/18-eventsHow do I get around this?Thanks. Link to comment Share on other sites More sharing options...
rocky Posted November 11, 2010 Share Posted November 11, 2010 Create a new image size called "subcategory" for example, then edit category.tpl and change 'medium' to 'subcategory' and regenerate your thumbnails. Link to comment Share on other sites More sharing options...
aa1joe Posted November 11, 2010 Share Posted November 11, 2010 Ok this problem is fixed.Thanks RockyJoe Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now