View Single Post
Old September 4th, 2005, 09:25 AM   #11 (permalink)
Chuck S
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Oh I See What Your Trying

THIS IS NOT A BUG

Remember the thumb image returns a link to the category it is in.

If you want to have it link elsewhere you need to place an ahref tag around the thumb to link to the product.

You where the very one weeks ago reporting an extra <a href tag which had me remove exactly what your trying to do

The link should be this then

if ( $Globals['spider'] == "yes" ) $gallery['hasimage'][$count] = "<a href=\"{$Globals['maindir']}/showproduct.php/product/$id/sort/$sortparam/cat/$cat/page/$page\">$thumbrc</a>";
else $gallery['hasimage'][$count] = "<a href=\"{$Globals['maindir']}/showproduct.php?product=$id&amp;sort=$sortparam&amp;cat=$pcat&amp;page=$page\">$thumbrc</a>";
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; September 4th, 2005 at 09:37 AM.
Chuck S is offline   Reply With Quote