Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Tanner Marsh913 Points
I have not been able to get pictures to appear on my blog and would like some help with it. Thanks, Tanner
<section> <ul> <li> <a href="IMG_2939.jpg"> <img src="IMG_2939.jpg" alt=""> </a> </li> </ul> </section>
Vilius Grižas2,753 Points
If I understand correctly what you're doing is trying to put a picture as a link to the same picture right?
One of the posibilities why your code doesn't work is because maybe your IMG_2939.jpg file is not in the same folder as your HTML file.
You can also go into your computer file and copy the source path and paste it after <img > it's going to look something like this <img src= "c://user/cassie/pictures/quotes/mondaay-quote.png"> that's the long way of doing things.
The other way is to add the image to a folder in your editor, you can call the folder for example images. and you'll write the code like this <img src="images/(your-pictures- name.png)">