Re: creating Image to display without saving it.

From: Date: Thu, 23 May 2002 19:00:15 +0000
Subject: Re: creating Image to display without saving it.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-98971@lists.php.net to get a copy of this message
On Thu, 23 May 2002, Leotta, Natalie (NCI/IMS) wrote: > I've got a page where I create an Image that I want to put into one of my > HTML table cells. I've been doing this by saving the file, chmoding it, and > then opening it using image source in the HTML. > > The problem is that when you do that, the new version of IE has that stupid > pop-up window when you mouseover on an image. When I create an Image in a > different file, and have the image source tag linking to that filename, for > some reason there's no pop-up window. Is there any way for me to create the > Image in the same file and include it in the page without saving it and > opening it? We just did usability testing and everyone hated the little > popup that Microsoft gave us. You can output the image direct from PHP to the browser. Just send the proper header ('Content-Type: image/png' or whatever) and output the image data. As for that hateful little popup thing, I think you can get rid of that by adding the attriute GALLERYIMG="NO" to your IMG tag. miguel

« previous php.general (#98971) next »