RE: [PHP] Sourcing Image file to <IMG> tag

From: Date: Tue, 10 Oct 2000 05:26:20 +0000
Subject: RE: [PHP] Sourcing Image file to <IMG> tag
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-19292@lists.php.net to get a copy of this message
Additional info: When I examine the properties of the busted image (i.e., the <img> tag that should be displaying somethting), it shows as: http://my.domain.com/displayimage.php etc This sure looks wrong, as I put all of my php scripts outside of the html document tree. Does this problem ring a bell with anyone? - Mark -----Original Message----- From: Mark Olbert [mailto:mark@arcabama.com] Sent: Monday, October 09, 2000 10:16 PM To: php-general@lists.php.net Subject: RE: [PHP] Sourcing Image file to <IMG> tag Look, "// I may be >>>remembering<<< the exact phrase incorrectly" means exactly that! Actual clipboard copied source code: header("Content-type: image/jpeg"); imagejpeg($newim,"",$quality); Now, does anyone have any suggestions or ideas? Thanx in advance for any help or advice. - Mark -----Original Message----- From: jeremy brand [mailto:jeremy@nirvani.net] Sent: Monday, October 09, 2000 9:28 PM To: Mark Olbert Cc: php-general@lists.php.net Subject: Re: [PHP] Sourcing Image file to <IMG> tag > header("content-type: jpeg/image"); // I may be remembering the exact This would break it. It should be: Content-Type: image/jpeg -jeremy brand _______________________________________________________________________ GnuPG Fingerprint: 9F5E 95E0 1CC2 E054 84EA 6099 8ACD 9DBA D2C0 5EA9 _ http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more __ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#19292) next »