Jump to content

Category image and Subcategory image sourced from 2 different images in category.tpl,is it possible?


markc1

Recommended Posts

Hi,

 

Can I modify category.tpl so that the subcategory images are sourced from the image of the 1st product, or a totally new image, not the category/subcategories main image?

 

I would like to this because the images I have for the subcategories/categories are wide and short, well suited as a banner for my categories, but not at all suited for displaying as the subcategory image, which is a thumbnail shape.

 

Currently the code seems to use the same image for the 2 different display types.

 

So I am trying to find a way so that the code shows a different image, depending whether it is to be used as a category banner, or as a subcategory thumbnail?

 

Any help massively appreciated, been struggling with this one all day and all night now....

 

M

Link to comment
Share on other sites

  • 1 month later...
  • 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...