How to set up a 'Resolution' attribute

If you want Asset Bank to display the resolution of an image, as set by software such as Photoshop, then you can do this by creating an attribute of type 'text field' and setting up an 'Embedded data mapping' to extract the resolution from the image. To do this:

  • Go to Admin->Attributes and click 'Add a new attribute'. Create the new attribute as type 'text field' and call it 'Resolution (DPI)' or similar.
  • Go to the tab 'Embedded Data Mappings'. Create a mapping from the field [Any]->XResolution to your new field.

Here's how to set up a dropdown list of resolution ranges (such as 'Web', 'Print' etc) and have the dropdown automatically populated for new images:

  • Go to Admin->Attributes and click 'Add a new attribute'. Create the new attribute as type 'Dropdown' and call it 'Resolution' or similar. Click 'Show on search' to show the dropdown on the 'advanced search' page.
  • Add values for the dropdown, such as 'Web' and 'Print'. For each, enter a value for the field 'IPTC/EXIF Mapping' to define the range of resolutions that should match this dropdown entry (this field can start with <, <=, > or >= and can contain & (for AND) and | (for OR). For example, you could add the following values (this list shows 'Name':'IPTC/EXIF Mapping'):
  • 'Web': <=72
  • Medium >72&<300
  • Print >=300
  • Go to the tab 'Embedded Data Mappings'. Create a mapping from the field [Any]->XResolution to your new field.

Was this article helpful?

Yes No

Thanks for your feedback!