fixed html for photo galleries pages