3
Thanks

A few words of thanks would be greatly appreciated.

PHP - Image not displayed



Issue


I have problem with my PHP page. The images inserted are not displayed in my browser when I run my the page on my WAMP server. Here is the code:
<img src="file:///c:/wamp/www/my_super_site/images/my_picture.jpg" width="261" height="95" title="nature" /> 

Solution


The URL must begin with http://localhost/

Thanks to arthezius for this tip.
3
Thanks

A few words of thanks would be greatly appreciated.

Ask a question
Jean-François Pillou

CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.

Learn more about the CCM team

Related

Published by . Latest update on by deri58.

This document, titled "PHP - Image not displayed," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (https://ccm.net/).
3 vote - 5.0 /5

3 Comments

-
thank you. Helpful post
Woah... Spent a day finding this.. thankyou so much
-
Thankyousomuch Buddy