fixing gallery image index
test for gallery lightbox images
Merge pull request #6003 from guardian/gallery-fix

fixing gallery image index