HTML Images wont show up in WAMP
Posted by: cadella (---.static.mtpk.ca.charter.com)
Date: March 17, 2013 12:46AM

Hi,

I am using notepad ++ and I am trying to insert images. After I save the file in my WAMP folder and click on it the page comes up with all of my text, but not photos.

I can right click where the image should be and go to the link where i pulled it.

The code I write for images is <img src=""/>

I have tried several different images from different websites but none are showing up.

Options: ReplyQuote
Re: HTML Images wont show up in WAMP
Posted by: RiggsFolly (---.as13285.net)
Date: March 18, 2013 11:14AM

Its possible for a site to block external sites from linking to their images. Its considered bandwidth stealing.

Create yourself a folder under your project folder

like c:\wamp\www\site1\images

Put some of your own images in there and link to them using
<img src="images\images1.jpg" alt="" >

If that works then the site you were trying to get an image from was blocking you, or you did something else wrong.

Options: ReplyQuote


Sorry, only registered users may post in this forum.