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
Belinda Munns
379 Points.gif are showing up on safari but .jpg aren't?
I'm going through the tutorials for Smells like Bakin' My code is correct, however when i put it into the browser, the .gif pics are displayed but the .jpg wont display. I've used Safari and Google to see if it made a difference but... nope :-(
What am i doing wrong?
7 Answers
James Barnett
39,199 PointsWhat am i doing wrong?
The only way anyone could answer that is if you posted your code.
Remember, when you post code to the forum remember to indent each line 4 spaces so the forum will correctly format it.
Belinda Munns
379 Points<img src="img/featured-cupake.jpg" alt="Avocado Chocolate Cupcake">
How much code do you need?
This image isn't showing :-(
samiff
31,206 PointsSimple typo I think: "img/featured-cup*c*ake.jpg"
James Barnett
39,199 Points@Belinda -
Is there an image named featured-cupake.jpg in a folder named img?
Most issues with images not showing up usually an issue with the filename (like the one here) or the path.
Here's a quick primer on paths, that you may find useful.
James Barnett
39,199 Points@Sam - Good eye I didn't even spot that.
Belinda Munns
379 PointsOMG!!
Doesn't that make me look like a tool!!
Thanks, your a champion!
samiff
31,206 PointsI had the exact same thing happen to me last week