Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- lawrence k
May 18, 2006, 8:36 pm
rate this thread
I took the code from Example 2, almost exactly, and tried to use them
on this page:
I get gibberish on the page, and then I get a warning in the error logs
about "headers already sent"
To serve an image in the middle of the page like that, do I have to
turn it into a physical file and serve it in an IMG tag?
Re: imagecopyresampled - can one use images on the fly, even if the page headers have already been sent?
You have to serve it in an IMG tag, but you can use a PHP script as the
source (src) for that tag and have that PHP script output the image
dynamically (i.e. you don't have to save it as a file first).
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos