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 Introduction to HTML and CSS (2016) HTML: The Structural Foundation of Web Pages and Applications Image Tags

Daniel Woldehana
Daniel Woldehana
340 Points

Every time i reload my Page after entering the placeimg link, my page doesn't change pictures.

4 Answers

Kieran Barker
Kieran Barker
15,028 Points

Try pressing Ctrl+F5 to refresh if you're using Windows. If that doesn't work, or you're using a Mac, try clearing your browser's cache and trying again. It's probably just that your browser is caching the image. Pressing Ctrl+F5 will reload and also clear your cache.

Daniel Woldehana
Daniel Woldehana
340 Points

Thank you Kieran that worked!

Jaspal Singh
Jaspal Singh
13,525 Points

Hi Daniel

Can you pls provide me the code your working with, because most of the time this error is due to the image path you're trying to give through img tag.

Immanuel Jaeggi
Immanuel Jaeggi
5,164 Points

After clearing my cached data the image refreshed once, then when I tried refreshing the webpage the image remained the same. I had to clear my cache every time I wanted to see a new image. Any ideas?

Kevin McCall
Kevin McCall
217 Points

I had the same issue as Daniel and pressed Ctrl+F5 and it worked as well. What I was wondering though, is if users would have to press Ctrl+F5 on their browsers as well if we were to use this code on our page?

Kieran Barker
Kieran Barker
15,028 Points

Hi, Kevin! Yes, I think they would — though I may be wrong. The image would eventually change when their browser periodically refreshed its cache. At least, that's my understanding.