Reverted to previous version for gallerys