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 Styling Web Pages and Navigation Style the Image Captions

Size of images

Do we have to resize the images before we use them in our portfolio? They work fine, but there seems to be a spacing image int he mobile view....

yea they came out looking wonky...but the spacing was correct. was hoping that would work but i guess i'll just have to go edit them.

2 Answers

It's generally a good idea to upload images that are as close to the size you want them to appear on your webpage. Resizing (reducing the size of) a larger image with code once it has been uploaded can make your page load slower and use up more bandwith, while uploading an image that is too small and scaling it up will cause it to pixilate.

Christopher Mlalazi
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Christopher Mlalazi
Front End Web Development Techdegree Graduate 17,305 Points

@Daniel, that’s an excellent tip. I am not so familiar with picture size but how do you determine the size of the page page and that of the picture? Like say you have a div where you want to put a background picture how do you measure both. I hope my question is understandable.