in reply to Images
in thread Images

The other monks definetely provided you with another way to do it. I'll just point out what seems to me to be wrong : I think that this part is the problem.
$line="<img src=".$name; $line=$line." >"; print "<img src=\"$line\">";
Wouldn't you want that last line to be just print $line; ?