View Single Post
Old September 6th, 2005, 08:24 AM   #10 (permalink)
Arnie
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 179
It it a bug that even if a product has no images it still shows the thumbnail in showcat?

(e.g. http://www.arniesairsoft.co.uk/revie...cat.php/cat/16 - steyr image not there)

SHould it be blank, or display a "no image yet" spacer?

Say something like this in showcat.php:

if ($thumbtag =="") $thumbtag = $Globals['idir']."/nothumb.gif";

just before:
$catimage = get_thumbtmpl( $id, $thumbrc, $height, $width, $thumbtag, $pcat, $thislink );

edit: I fixed mine with the above code which works very nicely.

While I'm at it, here's a revised version of thumbnail-round.tmpl:

Code:
Content visible to verified customers only.
Background position should not be center, as there's a black shadow to the bottom that moves the center of where you want the image upwards. Repalcing with 50%/40% as above works very nicely.

Last edited by Arnie; September 6th, 2005 at 08:31 AM.
Arnie is offline   Reply With Quote