Why are my images referred to by keydefs imported as resources?

You can set the format attribute to import the images correctly.


Images imported as part of a keydef map are imported as resources instead of as images. For example:
<keydef href="image.png" keys="TestImage"/>


To import images referenced by a <keydef> element, set the format attribute to the value "image". For example:
<keydef href="image.png" keys="TestImage" format="image"/>