Added cutting gallery images to appropriate size.