separate tif and jpg galleries

Second try to update separate jpg and tif galleries within the other pages section.