addition of photo gallery to flexible block