separate tif and jpg galleries

add display of tif and jpgs of other pages in separate galleries
fix gallery display for other pages
Attempt to merge and commit.

Merge branch 'jwestgard-master'
Merge pull request #9 from jwestgard/master

separate tif and jpg galleries