Re: [PHP] how to display GD graphic in web page

2005-10-25 Thread Chris
Thanks for the detailed explanation. I should have expanded further on my design goals though. I initiated my examination of this problem when I tried to generate my "on-the-fly" images with a class method like: // on_the_fly.php class on_the_fly { function on_the_fly() { } function a_graphic(

Re: [PHP] how to display GD graphic in web page

2005-10-24 Thread Richard Lynch
On Mon, October 24, 2005 7:14 pm, Chris wrote: > I don't understand what is going on with a simple example I created to > understand how GD graphics are presented in a web page. Basically, you were right the first time. Think of it this way: HTML pages generally have, well, HTML in them. Someti

Re: [PHP] how to display GD graphic in web page

2005-10-24 Thread Jasper Bryant-Greene
On Mon, 2005-10-24 at 20:14 -0400, Chris wrote: > I don't understand what is going on with a simple example I created to > understand how GD graphics are presented in a web page. [[snip]] > However if I replace: > > > with > > $image = imagecreatefrompng("my_graphic.png"); > imagepng($image);