If you get black squares in peoples' profiles, instead of the images you want, then you need to replace :
Quote:
Originally Posted by code
<td style="background: url({$data_dir}{$pcat}/thumbs/$photo); background-color: #000000; background-repeat:
no-repeat; background-position: center;"><a href="{$url_path}/showphoto.php?photo={$pid}">$mthumb</a></td>
|
with
Quote:
Originally Posted by new code
<td style="background: url({$data_dir}/{$pcat}/thumbs/$photo); background-color: #000000; background-repeat:
no-repeat; background-position: center;"><a href="{$url_path}/showphoto.php?photo={$pid}">$mthumb</a></td>
|
The missing "/" in the first example is what is causing the black squares.