improved image field handling. allow  is instance of checks on MetadataScalars using IMetadataScalar<object>.