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

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 <> 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 (
> To unsubscribe, visit:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to