in reply to Re^2: image not shown in my web page
in thread image not shown in my web page

Why do you manually check

file:///C:/Server/Apache2/cgi-bin/pics/PD4.jpg

if you use

http://localhost/cgi-bin/pics/PD4.jpg

in your code?

What error do you get in the logs for the image?

Also, read the Apache documentation on how to configure Apache. This has nothing to do with Perl. You will need to configure Apache so that it serves images from a directory. This directory should not be cgi-bin.