adjust photo gallery captions/layout