Make it possible to resize the image to the smallest scale