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 How to Make a Website Sharing a Website Upload the Website

Nuri Cobos
Nuri Cobos
689 Points

One of my images doesn't appear :(

Hi everyone, I used my own images for the project and I just upload my website but one of the images doesn't appear.

When I check the preview in my wokspace everything it's ok, so I don't understand what's going on.

Show me this error:

Not Found

The requested URL /img/infografía-ingenierias-occ.png was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

2 Answers

Vedran Brnjetić
Vedran Brnjetić
6,004 Points

It might have something to do with the í character in the filename.

As a quick fix, you could try renaming that image so you don't have national-specific characters in the filename: infografía-ingenierias-occ.png => infografAa-ingenierias-occ.png and don't forget to change the src attribute of the img element to reflect the change.

On the larger scale, differences between character sets cause lots of headaches if every request is not explicitly set to use the same character set, wherever possible, try using utf-8 character set, but if you don't have access to configuration areas of your host, the next best thing to do is to use default english alphabet.

I hope this helps.

Nuri Cobos
Nuri Cobos
689 Points

Hi Vedran,

Thank's a lot. The name of my image it's in spanish and includes a special character. I will follow your advice and rename it.

:)