separate tif and jpg galleries

add display of tif and jpgs of other pages in separate galleries