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 Social Media Links

Wyatt Lamond
Wyatt Lamond
219 Points

images

I am attempting to crop my photos to 1024x768 in iphoto bc I do not have photoshop, but everytime I export the photo it reverts back to 638x 479. My question is, for the beginners how to make a web page lessons, how necessary is it that the photos are 1024x 768? anyone know why when i export the changes out of iphoto, why the dimensions change to 638x479? Is there anyway I can just use what I have, bc I do want to make this webpage relative to my own projects, not just random examples.

Wyatt Lamond
Wyatt Lamond
219 Points

now I can get the dimensions to 1024x681... is this somewhat decent enough?

1 Answer

Images on a webpage can be scaled to any reasonable dimension (with respect to quality). If your images are not a perfect dimension, you can just edit the style (width and height) of the image to match what you are going for. However, if the style does not match the dimensional ratio, the image will be skewed or scaled. Most of the time the scaling is not noticeable.

Images with dimensions of 1024x681 are fine depending on the location of the image and the actual size needed. If you are using a mac, you can edit the dimensions of a photo in preview rather than iPhoto. Tools -> Adjust Size