Re: Problems displaying images with PHP-GD

From: Date: Mon, 31 Jan 2005 03:06:04 +0000
Subject: Re: Problems displaying images with PHP-GD
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-207740@lists.php.net to get a copy of this message
Ian Johnson wrote: > I am trying to use GD to create and manipulate images but the > statement: > > header ("Content-type: image/jpg"); > > generates the error message: > > The image "http://localhost/gdtst2.php" cannot be > displayed, because > it contains errors. Wild Guess: You have a blank line in your file before the first <?php or after the last ?> -- So even though it looks like a kosher JPEG, it's not. Use "View Source" in your browser on the JPEG data to see what's there. -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#207740) next »