Re: [PHP] Jpgraph troubles

2003-05-29 Thread Jordan Elver
> I can see what headers are sent. What is the url of the image? I checked using curl -I and found that the correct headers are being sent. I found out it was because I didn't have a certain library I needed included within the graph script. Thanks for your help anyway, Cheers, Jord -- Jordan

Re: [PHP] Jpgraph troubles

2003-05-29 Thread John S. Huggins
On Wed, 28 May 2003, Jordan Elver wrote: >-Hi, >-I've been creating some graphs using jpgraph and they work really well when I >-view them directly i.e. directly through the script. My problem comes as soon >-as I try to display them using the tag within another page. When I do: >- >- >- >-I ca

Re: [PHP] Jpgraph troubles

2003-05-29 Thread Jordan Elver
> I assume you are sending something similar to the following before the > actual pic? > > header("content-type: image/png"); Jpgraph does that for you I think. As I said before, the script works when you access it directly, but not when it's through an img tag. -- Jordan Elver There may be no '

Re: [PHP] Jpgraph troubles

2003-05-29 Thread Wendell Brown
On Wed, 28 May 2003 19:00:20 +0100, Jordan Elver wrote: >I can't get it to display. It just shows the broken image icon. I assume you are sending something similar to the following before the actual pic? header("content-type: image/png"); I have a script set up on my page that demonstrates usin