EllisLab text mark
Advanced Search
     
Category image thumbs
Posted: 25 June 2012 09:54 AM   [ Ignore ]
Joined: 2010-12-06
12 posts

Hi,

I’m trying to have thumbs of my category images shown; but the template code won’t work:

{exp:channel:categories channel="products"}
{category_image}
<img src="{path}_thumbs/{filename}.{extension}" alt="category_name">
{/category_image}
{
/exp:channel:categories} 

This code works within the “entries” channel tag, but not here.

The images are uploaded and I can navigate to them with the right URL. EE doesn’t read the code in the way I want it to.

Do you have any idea how to make this work? Thanks!

 
Posted: 26 June 2012 11:15 AM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2011-11-25
7174 posts

Hello Patrick,

Thank you for posting your question here on the ExpressionEngine forums.

{category_image} is not a tag pair. You would use it in an image tag like so: {category_image}.

There are no thumbnails for category images. In fact there are no image manipulations at all. So it’s going to be exactly what you upload for the category thumbnail.

Is there anything else I can help with?

Cheers,

 Signature 

Recent version: EE 2.5.4 | Forum Module 3.1.10 | MSM 2.1.4 | 2.x Bug Tracker | Version Upgrade