adding support for images