resizing archive homepage thumbnails to a consistent aspect ratio