Only set width when displaying images to keep the aspect ratio.