Re: Drawing Images Without Writing To a File

From: Date: Thu, 11 Mar 2010 15:43:40 +0000
Subject: Re: Drawing Images Without Writing To a File
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-302704@lists.php.net to get a copy of this message
sure.. have a seperate php script output the image you want (after doing a header() call to set the mime type to an image; google "php header image"), and call that on the relevant page via <img src='http://yourserver.com/project/imageScript.php?p1=a&p2=b">.. but ehm, image creation is bound to be a resource-intensive job.. you may want to cache the images. On Thu, Mar 11, 2010 at 4:27 PM, Floyd Resler <fresler@adex-intl.com> wrote: > I want to draw tabs in a tab bar without having to actually write the images to a file.  Is it > possible to generate the image and send the data back and make the browser think it's loading > an image file?  I know this can be done by sending the proper headers back for an entire page, but > I just want to do basically the same thing for just part of the page. > > Thanks! > Floyd > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#302704) next »