gallery display image: Separated layout from the helper and embedded in the view. Fixed image-counting and added style
Merge pull request #107 from tubia/bugfix/4409-gallery-photo-counting

Fixed gallery image count, added style, separated layout from helper to view