Changed the one-to-one class to square in the gallery widget