add photos index view; include in gallery show view render
add maintainAspectRatio to gallery form