How to auto stretch an image?

In order to stretch an image, you have to hover over the image and click the pencil icon. Next, auto stretch the image by checking the auto stretch box.