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 Structure the Image Gallery

Elah Spence
Elah Spence
352 Points

Pictures

I am using this program on a HP and making a website for a school project. When i went to go download the pictures on the computer it worked fine but now i can't upload them to workspace. My teacher said it was because the images were png's so we tried to change them to .jpg but that did not work. I would love any and all answers thanks a lot.

5 Answers

Is the problem that you cant drag them inside the workspace! if thats so. heres how to fix it!

first drag the downloaded images to the dekstop, then drag them inside the workspace, one by one! that should work.

and check so you link the images right, (exact name)

hope this helps.

Kind regards // Erdrag

Elah Spence
Elah Spence
352 Points

that works fine its just once i drag them in they don't show up

okey, make sure you have the images in the right folder

example, if you have your images in a "img" folder this is how you should type the code!

<img src="img/example.jpg">
Elah Spence
Elah Spence
352 Points

i have them saved in an image folder i just need to import them into workspace so that i can then put them into my code. Im still working on the foundation of my website

So if im correct. the problem is that you cant put the images inside the workspace?

Okey, When you download the images from the underneath the video, you get a Zip folder. and you cant drag the images from the Zip folder directly to your workspace, so you have to drag them to the desktop first. then drag them one by one into the Workspace again, i had this problem too, and this worked for me!

// Erdrag

Make sure that when you are dragging them into the Workspace that you are putting them in the bottom left-hand corner. Another way to upload files is to just go to File -> Upload File.

It doesn't matter what extension your image has because it will allow you to upload just about any file type. The only restriction that I'm aware of is a 10 MB total file size restriction on the entire Workspace, I believe.

Elah Spence
Elah Spence
352 Points

I downloaded them one by one and it still does not work they are in the right place and im dragging them to the right place.

If they are in a Zip folder you have to extract them first

Elah Spence
Elah Spence
352 Points

i did all the things i need to do and it is still is not working

Elah Spence
Elah Spence
352 Points

and i don't know what else to do and this project is due soon

Are the files visible in the Workspace or are you still having trouble getting the files into the Workspace?