[ic] re: results.html

Raymond Miecznik interchange-users@interchange.redhat.com
Mon Apr 1 11:28:01 2002


well, it works, the thumbnail images displays, but, carp. it's not
making the image into also a link, which is something that i would like.

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

is the <a href> html tag not right or something ?

raymond

on 3/29/02 8:16 AM, Paul Jordan at paul@gishnetwork.com wrote:

>> 
>> 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
> 
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>