PDA

View Full Version : Graphics Links changed when using my search feature??


wajb
22-Jan-2003, 01:40 PM
Hi,

I have just added a little search box on my home
page.(http://www.mobileimports.com) It seems to work OK except when you click on a product that is brought up in the search results it doesn't display the photo of the product.

E.g - search for 7210 covers and then click on the link - no photos - images linked to http://www.mobileimports.com/skr243.gif

If you goto the products directly through the catalogue they are displayed correctly and linked to the correct location
http://www.mobileimports.com/acatalog/skr243.gif

So why when you get to the product via the search tool do I lose the
/acatalog/ bit?

Thanks
Will - MobileImports.com

cdicken
23-Jan-2003, 02:40 PM
Try including an extra hidden form field of

<input TYPE=HIDDEN NAME="ACTINIC_REFERRER" VALUE="http://www.mobileimports.com/acatalog/">

The simple search bar is outside the acatalog folder and this means the Perl may struggle to find the images unless you tell it explicitly where to find them.

wajb
23-Jan-2003, 11:02 PM
Great - problem fixed

Many thanks!