Add 'smart_dimensions' flag for calculating the correct width and height of exif-orientation-tagged images.
Restore accidental removal of 'private' during debugging.
Only lookup EXIF orientation for JPEG files.