Gossamer Forum
Home : Products : Gossamer Links : Discussions :

How to call Category Images?

Quote Reply
How to call Category Images?
Hi,

I have found this in the sub category template, but for the life of me can't figure out how to get it to work?

<%-- This is only useful if you have added an Image column to your category table --%>
<%if Image%>
<img src="<%build_images_url%>/default/<%Image%>" border=0>
<%else%>
...

The tag doesn't seem to be right, because if I use that it misses out the directories the image uploads makes (1-10) causing it to display a broken image, and I've got no idea how to include that?

I have set the uploads directory correctly, and have even tried moving it to the location called above. I've got it working with the links, but don't know about this one.

Can anyone help?

cheers,
R.


Quote Reply
Re: How to call Category Images? In reply to
Hi,

Ack, this is an old comment. In our demo we added a field called 'Image' that is a file name. Has nothing to do with the new image upload feature that was added in 2.0.5. I'll change that comment.

Cheers,

Alex

--
Gossamer Threads Inc.