• Closed by: Marek
  • Closed on: 16.10.18, 13:01
  • Reason: Closed
  • Comment: Glad to help!

Ticket #12837 - Categorie image problema

Hello I’m creating categories and subcategories. I set an image with a text for the categorie “Boots” and a miniature showing a pair of boots. But when a see it in the grid the miniature is a miniature of the text. How can I show the image of the pair of boots?

Comments

Marek 12 Sep 2018, 18:14

Hi, Juan.
Sorry for the delay.
Where do you want to display category image?

Juan Francisco Caballero 17 Sep 2018, 10:23

Well I don’t understand where does the miniature go (the pair of boots in the image attached in the post before). I only can see the image categorie and a miniature of this in the subcategorie display. What I want it’s to set a different miniature, in my case the pair of boots.

Marek 17 Sep 2018, 10:41

Could you please give me a link where you want to display category images?

Juan Francisco Caballero 19 Sep 2018, 11:37

This is just an example, https://devel.plazasuizos.com/prestashop/19-zapatos please check image attached, better explained what I want. Thanks Marek

Marek 20 Sep 2018, 13:59

Something strange here.
The link to the image is https://devel.plazasuizos.com/prestashop/img/c/23_thumb.jpg but it doesn’t work when I put it to the theme file category.tpl
<img src=”https://devel.plazasuizos.com/prestashop/img/c/{$subcategory.id_category}_thumb.jpg”>

Juan Francisco Caballero 20 Sep 2018, 18:00

Can you fix it?

Marek 21 Sep 2018, 12:28

done

Juan Francisco Caballero 16 Oct 2018, 13:00

Thanks Marek!