CarriedAwayCrafts Posted March 15, 2012 Share Posted March 15, 2012 Greetings, How do I change the image size of the subcategories from the medium (80px × 80px) to something larger and easier to view? Here is what I have tried so far, based on information that I found at other posts on this forum: I created a new picture type called "SubCat" under preferences>Images I Regenerated thumbnails I went to my server and changed the category.tpl file, wherever there was an entry that said 'medium' in association to 'Subcategories,' I changed the value to 'SubCat.' Nothing changed. I even cleared my browser caches and tried on IE, Firefox, and Google Chrome. Still- Nothing changed (so I changed everything back to the original values) Here is the example of the problem: http://www.carriedaw.../5-bath-fizzies Can someone please help me? Link to comment Share on other sites More sharing options...
ruhezustand Posted April 12, 2012 Share Posted April 12, 2012 i have the same problem, please help us! Link to comment Share on other sites More sharing options...
rturner Posted April 28, 2012 Share Posted April 28, 2012 I'm thinking you didn't change Preferences/Performance to Force Compile - Yes, Cache - No, reload a page and then change it back. You have to do that every time you change a .tpl file. Your procedures are identical to what I did on my site; worked fine after the site compiled. You'll also have to change the new image size in category.css. 1 Link to comment Share on other sites More sharing options...
otexito Posted May 22, 2012 Share Posted May 22, 2012 (edited) I think you didn't change the variables that begins with $, just after the size 'name'. Examle: <a href="{$product.link|escape:'htmlall':'UTF-8'}" class="product_img_link" title="{$product.name|escape:'htmlall':'UTF-8'}"><img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home')}" alt="{$product.legend|escape:'htmlall':'UTF-8'}" {if isset($homeSize)} width="{$homeSize.width}" height="{$homeSize.height}"{/if} /></a> Change $homeSize to $SubCatSize and would see it works. Edited May 22, 2012 by otexito (see edit history) Link to comment Share on other sites More sharing options...
CarriedAwayCrafts Posted May 22, 2012 Author Share Posted May 22, 2012 (edited) Update: My solution was to start using the NEW default template for prestashop (available HERE). It would seem that the problem has been addressed (fixed) in the new template (which, I personally like much better than the old template) ... thanks developers Hope this helps others, Tony Edited May 22, 2012 by CarriedAwayCrafts (see edit history) 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