centered the jpg of card