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...
Last edited by dreamline on Mon Jul 27, 2009 6:57 am, edited 1 time in total.
Hi,
Thanks jackpf, it was not the answer I was hoping for because I don't want to write to file and want to output directly in my html page. I guess I will need to create all my text images by hand instead of creating them through imagePNG and then printing it in a html tag.