this is what i have for my modified forum(s)

PHP Code
 // SD:Mod - use PATH when getting imagage size, since php may not have url_fopen enabled ( safer )
	$imagehw = getimagesize("{$config['FULL_PATH']}/images/{$style_array['general']}/nopicture.gif"); 

scripts/showprofile.inc.php