changed dimensions of cards to fit img