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 Creating HTML Content Add Image Gallery Content

Site crashes, can't view images in preview.

I've been having great success with Treehouse until today. I've been using it for the past 2 weeks in Chrome and today it crashed several times for no apparent reason with the message to "Kill it" or "Reload". Kill was the only option that worked.

Also, I have not been able to see the images in preview. I have read all pertaining questions posted about this issue and tried all recommended solutions to no avail. I only get the small image icon on the preview page. It will link and open the image fine in a new window, just not on the main page.

As a solution to all of these I did try closing, relaunching Chrome and Workspaces, rebooting my computer, relaunching everything. I tried switching browsers to Safari- no luck.

Any and all help would be appreciated.

Thanks!!

6 Answers

Konrad Pilch
Konrad Pilch
2,435 Points

So do you mean you get a page that loads but then gets blank?

I'm not sure which part of my question you are referring to. All pages load. I can't see images when I preview from Workspace, but I can see everything else.

Thanks

Konrad Pilch
Konrad Pilch
2,435 Points

So ALL of your images aren't appearing on you browser? Just the images? the images you are trying to pull? Id ud go to facebook, or treehouse, can you see images? like the avatar.

I downloaded the images from the tutorial and successfully uploaded them into my workspace, entered them into my index.html doc and when I try to preview them, I get everything but the images. The hyperlinks work and the image will open in a new window, but it does not preview on the main page. Sorry if I'm not making sense

Yes- I can see all other images in my browser

Konrad Pilch
Konrad Pilch
2,435 Points

Is there a way i could look at your HTML code and if you could say me your directory ( folders ) ?

I haven't figured out how to do that yet. Thoughts?

Konrad Pilch
Konrad Pilch
2,435 Points

Well, you copy and past the code : p and tell me what folders you have so e.g. on the fron line you can see images , inside them img.jpg , avatar.png etc.. assets folder -> css, php , js, inside css -> main.css etc.. i believe you have a wrong path to it.

...and Treehouse just crashed again!!

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Cret Wilson | Designer</title> </head> <body> <header> <a href="index.html"> <h1>Cret Wilson</h1> <h2>Designer</h2> </a> <nav> <ul> <li><a href="index.html">Portfolio</a></li> <li><a href="about.html">About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav> </header> <section> <ul> <li> <a href="img/numbers-01.jpg"> <img src="img/numbers-01.jpg" alt=""> <p>Experimentation with Color and Texture.</p> </a> </li> <li> <a href="img/numbers-02.jpg"> <img src="img/numbers-02.jpg" alt=""> <p>other stuff here.</p> </a> </li> <li> <a href="img/numbers-06.jpg"> <img src="img/numbers-06.jpg" alt=""> <p>even more stuff here.</p> </a> </li> <li> </ul> </section> <footer> <p>Ā© 2015 Cret Wilson.</p> </footer> </body> </html>

My only folder is one I created called img. I uploaded all tutorial images into the img folder.

Ok- after many, many failed attempts, it now seems to be working. I had to delete half my code and start again. Still don't know if Workspace is buggy, or I just had it written incorrectly.

Thanks for your help!!