[ic] re: results.html

Paul Jordan interchange-users@interchange.redhat.com
Fri Mar 29 11:19:00 2002


>
> thanks for all the responses, but I am confused as to where I put
> that thumb
> code in the source of results.html  I've pasted it here...
>
> the dir.. where my thumbs are located are:
>
> /home/cart/store/foundation/images/thumb
>
> so what would the path be ? the full path ?
>
> this is what I am going to insert:
>
> <a href="[area [item-code]]"><img src="thumb/[item-code].jpg" border="0">
> <br></a><a href="[area [item-code]]">[item-description]</a>
>
> and this is the current contents of results.html:
>

Anywhere between the [search list] .... [/search list] set.

It looks like you going with my suggestion I *think. If you are, you would
need to go:

> <a href="[area [item-code]]"><img src="__THUMB_DIR__/[item-code].jpg"
border="0">
> <br></a><a href="[area [item-code]]">[item-description]</a>

Then you must add this in variables.txt:

THUMB_DIR	/foo/images/thumb	  Directories and Paths


where foo is most likely in your http (or www, httpdocs, etc) directory, it
is the folder that holds your IC images. There will be an entry for
IMAGE_DIR in there, to give you a hint. YOU MUST obviously add this thumb
dir in your images dir.

Alternatively, you could simply go:

<a href="[area [item-code]]"><img src="__IMAGE_DIR__/thumb/[item-code].jpg"
border="0">
<br></a><a href="[area [item-code]]">[item-description]</a>

and all you would have to do is add the folder "thumb" in the dir "images".


These should give you an idea:
__IMAGE_DIR__/thumb .... __IMGAE_DIR__/buttons ... __IMAGE_DIR__/elements


for order I like __THUMB_DIR__ .... __BUTTON_DIR__ ... and __ELEMENT_DIR__


you could probably put your images inside the pages dir like you have it
above, but I am guessing Foundation doesn't do that by default for a reason.

Paul