Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Show [Category] Table's images

Quote Reply
Show [Category] Table's images
Hi Alex,

Is there any way for us diaplay the image from the "Category" table

TheFox
TheFox
Quote Reply
Re: Show [Category] Table's images In reply to
In the category.html, simply add the tag for the image column name.

Example:

<%if ColumnName%>
<img src="/relpath/to/<%ColumnName%>">
<%endif%>


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

Cheers,
Me
Quote Reply
Re: Show [Category] Table's images In reply to
 
IS NOT WORK!

TheFox

TheFox
Quote Reply
Re: Show [Category] Table's images In reply to
Uh...did you change the "relaoth" EXAMPLE codes I gave above??? They are just examples...but the conditional tags should work.

How are you entering values into the CATEGORY IMAGE column?

And do you have the image in the relative folder you specified in the category.html file???

You can also try the following codes:

Code:

<%if ColumnName ne ''%>
<img src="/relpath/to/<%ColumnName%>">
<%endif%>


GOODBYE!


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

Cheers,
Me
Quote Reply
Re: Show [Category] Table's images In reply to
You don't need:

<%if ColumnName ne ''%>

<%if ColumnName%> will do fine.