updated ImageInfo with getSquareIcon & getCenteredImage functions.