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 trialIsmael Gomes
232 PointsWhy is the image not being displayed?
I have followed all the steps and the image did upload but is not showing on the page, only a little icon.
4 Answers
Hannah Gaskins
14,572 PointsHey Ismael,
Can you copy and past your code in this thread? This will allow students to help see what your code looks like and why the image might not be showing up. The tips for asking questions video to the right sidebar here has a great tutorial on how to post code snippets within the Forum posts.
Hopefully we will be able to better help with a bit more info!
Cheers :)
Jeff Lemay
14,268 PointsIshmael, be sure to let us know what folder your images are in. Common mistake is having the wrong src path.
Ismael Gomes
232 Pointshi folks. I have followed all the steps and the folder the image is in its called "img" as the tutor instructs.
<section>
<ul>
<li>
<img src="img/island.jpeg" alt="">
</li>
</ul>
</section>
Jeff Lemay
14,268 PointsIs your image's extension "jpeg" or "jpg"?
Ismael Gomes
232 Pointslol its actualy "jpg".. smh Thank you very much.
Jeff Lemay
14,268 PointsIt happens lol. You're welcome.
Hannah Gaskins
14,572 PointsRazvan Sighinas it looks like there is a missing " at the end of the img src section. Below is what this should look like:
<li>
<img src="img/numbers-02.jpg" alt="">
</li>
Additionally if you are missing the <ul> at the beginning of this code you will want to add that as I see you have the closing </ul> tag at the back.
Hope this helps!
Cheers :)
Razvan Sighinas
2,018 PointsRazvan Sighinas
2,018 PointsHello....My img is not displayed and I don't know why.The img is uploaded right.Do you have any ideas why the img is not displayed? <ul> <li> <img src="img/numbers-02.jpg alt=""> </li> </ul>
Thank you Razvan