in reply to <img> is not displaying images

Granted that I fail to understand which is the perl question here, if you're using CGI.pm as you definitely should, and if you're using its header()'s default settings, then you're serving XHTML 1.0 Transitional; so I haven't the slightest idea whether this may have to do with the problem you're experiencing, but the above should be
<!-- <img src="htdocs/test/DailyReport.jpg"> --> <img src="htdocs/test/DailyReport.jpg" />
of course CGI.pm itself would take care of this as long as you
print img { src => $DRurl, alt => "[Daily Report]" };

Update: fixed a typo according to dorward's reply.

Replies are listed 'Best First'.
Re^2: <img> is not displaying images
by dorward (Curate) on Oct 21, 2005 at 09:31 UTC

    XHTML 1.0 Transitional requires an alt attribute on all images, and if you plan to serve it as text/html (thus making the choice of XHTML pointless but allowing "older" browsers (like GoogleBot and Internet Explorer 7) to cope) then Appendix C requires a space before the "/" at the end.

    <img src="htdocs/test/DailyReport.jpg" alt="Suitable Text alternative" />