Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Image call on category page

Quote Reply
Image call on category page
Hello,

I haev searched and found threads on the subject, but nothing that works for me. Unsure So, I ask for help.

I created a new column in the categories table for an image. It is called "image_cat"

Via the admin, I have uploaded images for subcategories. They reside in a directory inside the build_root_url. So if the build_root_url is "content" then the files are stored here:
/content/image_cat/

I go to my subcategory.html template and add:

<%if image_cat%>
<img src="<%build_images_url%>/<%image_cat%>">
<%endif%>

and I get a broken image. What am I doing wrong? I am hoping to not have the images called by cgi, rather to only be accessible via .html pages. Can you help?

Last edited by:

Evoir: Aug 6, 2002, 8:07 PM
Subject Author Views Date
Thread Image call on category page Evoir 2102 Aug 6, 2002, 8:07 PM
Thread Re: [Evoir] Image call on category page
ryel01 2069 Aug 6, 2002, 8:13 PM
Thread Re: [ryel01] Image call on category page
Evoir 2057 Aug 6, 2002, 9:43 PM
Thread Re: [Evoir] Image call on category page
Evoir 2047 Aug 6, 2002, 10:35 PM
Thread Re: [Evoir] Image call on category page
Evoir 2045 Aug 6, 2002, 11:00 PM
Post Re: [Evoir] Image call on category page
chanelle 2034 Aug 7, 2002, 2:52 PM
Post Re: [Evoir] Image call on category page
Evoir 2047 Aug 6, 2002, 10:02 PM