Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

GIF Images not appearing on website

Hi folks:

Need help. All my images are not appearing on my practice webpage sessions.

Can anyone help?

6 Answers

Are you using the tag <img src = "image.png"> ?

Sometimes if you have them in an image folder and you dont specify the directory like so <img src = "images/image.png"> It may not appear due to the fact that the browser counldnt locate it.

Hope it may help. :)

with no img folder

< img src="logo.gif" alt="name" />

with img folder

<img src="folder/logo.gif" alt="name" /> 

Hi:

Thanks for the input. I tried your suggestion but still no pictures. All I get are small captions where the pictures ought to be.

Initially, I downloaded all the pics to a folder on my desktop and when I had the issue, I put the pictures directly on to my desktop, my pictures, etc....; specified the files locations and nothing!

Even tried using Firefox instead of Chrome but nothing.

Could it be because I am using a trial and unregistered version of Sublime Text 2?

The 2 most common mistakes when images are not showing up are a typo with the file names or using the wrong file path.

So triple check that you are using the exact name of the image files in your HTML, if that doesn't resolve the issue, check the file paths.

Here's a quick primer on file paths that should get you going.

Let us know how you are getting along with this here in this thread.

Thank you James, Thank you all

. I will check the file paths

James:

It worked like a charm. Thanks so much for your input. Really appreciate it. I just had to change a few things here and there.