in reply to <img> is not displaying images

The simple case is that the image just isn't there. To try to poke at just the image, put the site address and your path into a browser and see if it will display the image when you request it directly. For example http://my.site.org/htdocs/test/DailyReport.jpg. If you don't see the image, start troubleshooting from there.

First look on the file system and verify that the image is there. Make sure the file has a non-zero size, which means there is an actual image there. If it's on the file system somewhere, you just need to figure out how to get to it. Play around with the path in your browser. When you get it right, fix the CGI script.