adds support for images