In my document I have a lot of images. Some are small icons and others are massive screenshots. The images should display either
- Their full resolution if the image is smaller than the width of the document, or
- Scaled down to the width of the document itself if the image is larger.
Right now each image is scaled to the width of the document regardless of how big the original image is. This means that the smaller images are blown up and pixelated, but the larger images look great.