Reducing the image size in autolayout both in height and width when screen size reduce

I am using autolayout. As the screen size gets smaller, I want the image to be aligned to the top left corner and to be smaller in height and width. The problem I am having is that although the width and height are chained, the card is only smaller in width. I want it to be smaller in height as well. How can I do this?