title: Center dynamic height/width Image to fixed height/width div
body: <p>I've problem with centering dynamic image to fixed size div. So, the main idea is that image knows how to scale itself whether it is panoramic image or portrait image. The div, I'm aligning to, is close to 16:9 (300x170). Any ideas?</p>