Set the width and the height of the image of the card