Flickr style image sizing basics