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 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

What 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.

<img src="img/featured-cupake.jpg" alt="Avocado Chocolate Cupcake">

How much code do you need?

This image isn't showing :-(

Simple typo I think: "img/featured-cup*c*ake.jpg"

@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.

@Sam - Good eye I didn't even spot that.

OMG!!

Doesn't that make me look like a tool!!

Thanks, your a champion!

I had the exact same thing happen to me last week :stuck_out_tongue_closed_eyes: