Home : Products : Gossamer Links : Discussions :

Products: Gossamer Links: Discussions: Re: [srinivas] New user - How to display an icon next to category name: Edit Log

Here is the list of edits for this post
Re: [srinivas] New user - How to display an icon next to category name
Hello, srinivas.

The better codes to use would be:

Quote:

<%if cat_image%>
<img src="<%build_image_url%>/default/<%CategoryID%>.gif" alt="<%Name%>" width="insertvalue" height="insertvalue" border="0">
<%endif%>


Using the PRIMARY key in the Category table is better since that will stay the same over time. If you use <%Name%>.gif, then if you edit the CATEGORY Name column, then you will also have to edit the category image file name.

========================================
Buh Bye!

Cheers,
Me

Last edited by:

Heckler: Dec 20, 2001, 7:50 PM

Edit Log: