Jump to content

(Solved) Where do I change the photos under main category?


aa1joe

Recommended Posts

Hi

I been looking around my admin panel trying to figure out where to change the main photo at the top of each main categories. Can someone tell me where to look.

See the big photo at the top. That's what I am trying to replace with another photo.
http://lacefrontwigs2wowu.com/category.php?id_category=2

Also is it possible to remove the small photos underneath the big photo and remove the grey border?

Thanks, help is much appreciated.

Joe

Link to comment
Share on other sites

Those are image maps. Go to Catalog > Image mapping to change them. The best policy is to upload a square image to the category and a banner image as an image map and link it to that category. That way, you've got a thumbnail and banner for the category that are the right dimensions. If you are going to remove the subcategory thumbnails, you could upload the banner to each category instead of using image mapping, then {* comment out *} lines 37-44 of category.tpl in your theme's directory:

<a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$subcategory.name|escape:'htmlall':'UTF-8'}">
   {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}



Link to comment
Share on other sites

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...