[ic] Search help!!

Marty Tennison interchange-users@interchange.redhat.com
Mon Mar 4 16:29:01 2002


> This is a NEWBIE question but I'm trying to change my item
> searchs to
> include thumbnail pitures of the items. What would be the
> best approach for
> doing this.  Any help....helps ;)

You'll need to edit results.html  (or whatever file is defined by
mv_nextpage in the search) and put in code to display the thumbnail.
Interchange is setup to use the fields thumb and image in the products
table as your thumbnail and image fields.  If you use those fields
just create an img tag like this.  (this is for image)

<IMG SRC="items/[item-field image]" ALT="[item-filter
entities][item-description][/item-filter]" title="[item-filter
entities][item-description][/item-filter]" BORDER=0>

I don't use the fields so my img tag looks like this.

<img border="0" src="thumb/[item-code].jpg" width="80" height="80"
alt="[item-filter strip entities][item-description][/item-filter]"
title="[item-filter strip entities][item-description][/item-filter]"
border="0" align="absmiddle"></a>

Hope that helps.