in reply to <img> is not displaying images
Perhaps you can take a browser approch. You are passing img to the browser, and the browser should execute it (provided your allowing the browser to load images).
If the site URL is http://127.0.0.1 and the image is htdocs/test/DailyReport.jpg, then open your browser and enter http://127.0.0.1/htdocs/test/DailyReport.jpg . If you don't get an image (i.e. error 404 file not found), then the url your passing is wrong. Look at where the server is serving from and use virtual locations verses hard coded locations. Chances are, you will have better luck that way.
More then likely, the browser is looking in the wrong location for the image and should be looking at http://127.0.0.1/test/DailyReport.jpg or http://127.0.0.1/DailyReport.jpg .