photo/frontend — pull request #1291 by httpdispatch (2013-05-27 06:44:37+00:00)
Title: New gallery layout without image crop

Current layout crops images like this
![before](https://f.cloud.github.com/assets/2315223/566613/f2d8c05e-c697-11e2-84cd-e1138309a7da.png)

Proposed layout doesn't crop images. It adjusts row height instead of. Also it keeps images aspect ratio
![after](https://f.cloud.github.com/assets/2315223/566615/10de0bcc-c698-11e2-83a0-131cf8012bc3.jpg)

Row height can be customised via defaultImageHeight and maxImageHeight parameters

![image2](https://f.cloud.github.com/assets/2315223/566617/252d8706-c698-11e2-84c3-3ff03eb18452.png)