added support of images