$image = "".$data["bildurl"].""; $size = getimagesize("$image"); $width = round($size[0]); $height = round($size[1]); if ("$width" > "200") { $width = ("200"); echo " "; } else { if ("$width" > "200") { $height = ("200"); echo " "; } } ?>