Add 'smart_dimensions' flag for calculating the correct width and height of exif-orientation-tagged images.