I am currently using pChart 2.1.2 to try and generate some images for my website. I have successfully used it to generate an image when calling \[code\]php\[/code\] from the command line and the graphic generated looks exactly like I want it to. The problem I have is that in my code I am using the \[code\]pChart\[/code\] classes to generate the image (which is does) and if successful I try to embed the image in my page using the following (truncated code)\[code\]<?php $myData = http://stackoverflow.com/questions/15853549/new pData(); // populate data $myImage = new pImage(600,400,$myData); // format and draw data $myImage->drawLineChart(); $myFilename ="path_to_my_file.png"; $myImage->autoOutput($myFilename);?><img src="http://stackoverflow.com/questions/15853549/path_to_my_file.png">\[/code\]It does work in the sense that the image is created where I want and looks exactly how I want it but the image is not displayed in my web page. In fact none of my html is displayed I just get a blank page with a dead image link. Am I using \[code\]pChart\[/code\] in a fundamentally incorrect way? I have tried following many examples at the pChart documentation pages but I just cannot see why this image does not get displayed when I know it exists and the path is correct.