[SOLVED]Question about "ImagePng"
Posted: Sat Jul 18, 2009 9:29 am
Hi All,
I've got a little question about ImagePng. I've read a lot of threads and I've been storing a Png image in a variable with ob_start();. It's a bit hard to explain what I want to do, but I'll give it a try. Because I am using this GD function dynamically I want to print out the contents of the variable to screen inside a <DIV> tag, however it needs to represent itself as an image. How would I print the contents of my variable (which holds the full GD PNG image) into a html page without first saving it to a file? Can I use header types inside my DIVS?
Thanks for any help...
I've got a little question about ImagePng. I've read a lot of threads and I've been storing a Png image in a variable with ob_start();. It's a bit hard to explain what I want to do, but I'll give it a try. Because I am using this GD function dynamically I want to print out the contents of the variable to screen inside a <DIV> tag, however it needs to represent itself as an image. How would I print the contents of my variable (which holds the full GD PNG image) into a html page without first saving it to a file? Can I use header types inside my DIVS?
Thanks for any help...