refs #466: if image is too big, we resize it to fit the available real estate.