marco78 Posted September 30, 2014 Share Posted September 30, 2014 Hy everyone I get homepagecategory module in prestashop 1,5 it works good except for the images/ thumbs in homepage thumbs is quite good resized, but entering in the cagory page i wish to display a large image in top i saw there's not mysql table that contain images url - images are assigned maybe by category id (in lang table), but are however a single image as for homepage thumb and as for fullwidth image in theme>category.tpl images are called in this way: <!-- Category image --> {if $category->id_image} <div class="align_center"> <img src="{$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category_default')}" alt="{$category->name|escape:'htmlall':'UTF-8'}" title="{$category->name|escape:'htmlall':'UTF-8'}" id="categoryImage" width="{$categorySize.width}" height="{$categorySize.height}" /> </div> {/if} i created another row in mysql in base_category_lang with image paths for each category now the problem is how assign largest image in every category page? someone have ideas? thank you Link to comment Share on other sites More sharing options...
Recommended Posts