You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by slowhome <we...@theslowhome.com> on 2008/01/29 00:27:19 UTC

Category Images?

I'm using Roller 3.1 and noticed that there is a field for images with the
category edit screen. How do I get the image to display. 

I did a search and found another 
http://www.nabble.com/How-to-Display-Category-Images--tp2226024s12275p2226024.html
post asking  the same question but it wasn't answered. I thought I'd try my
luck.

Thanks in advance for any help.
-- 
View this message in context: http://www.nabble.com/Category-Images--tp15148537s12275p15148537.html
Sent from the Roller - User mailing list archive at Nabble.com.


Re: Category Images?

Posted by slowhome <we...@theslowhome.com>.
Works perfectly. Thanks for the help.



Jason Rumney wrote:
> 
> slowhome wrote:
>> I'm using Roller 3.1 and noticed that there is a field for images with
>> the
>> category edit screen. How do I get the image to display. 
>>   
> 
> I use the following in some of my _day templates. I'm currently using 
> 4.0, but this has been working since a few years ago and I don't think I 
> had to update this bit.
> 
>  $entry.category.image 
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Category-Images--tp15148537s12275p15211054.html
Sent from the Roller - User mailing list archive at Nabble.com.


Re: Category Images?

Posted by Dave <sn...@gmail.com>.
On Jan 31, 2008 8:10 AM, Jason Rumney <ja...@f2s.com> wrote:

> slowhome wrote:
> > I'm using Roller 3.1 and noticed that there is a field for images with
> the
> > category edit screen. How do I get the image to display.
> >
>
> I use the following in some of my _day templates. I'm currently using
> 4.0, but this has been working since a few years ago and I don't think I
> had to update this bit.
>
> <img src="$entry.category.image" title="$entry.category.name" />
>

Thanks Jason. That is the right approach as none of Roller's themes actually
make use of the category images.

- Dave

Re: Category Images?

Posted by Jason Rumney <ja...@f2s.com>.
slowhome wrote:
> I'm using Roller 3.1 and noticed that there is a field for images with the
> category edit screen. How do I get the image to display. 
>   

I use the following in some of my _day templates. I'm currently using 
4.0, but this has been working since a few years ago and I don't think I 
had to update this bit.

<img src="$entry.category.image" title="$entry.category.name" />