Yes, however the pictures I will be uploading to this space are different sizes. Some of the pictures are taller than they are wide, and vice versa. So if I use auto for either the height or width, then the photo will either be too wide or too tall for the space I would like the photo to fit in. I am trying to find a way that would make sure the height is never larger than 600px and the width is never larger than 900px while still keeping the photo in proportion to its original size.