Re: Drawing Images Without Writing To a File

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx> 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
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux