Constrained fotorama:

<div class="fotorama"
     data-width="100%"
     data-ratio="700/467"
     data-minwidth="400"
     data-maxwidth="1000"
     data-minheight="300"
     data-maxheight="100%">

Resize the browser.

Photos by Andrey Okonetchnikov