Implemented embedding of images. [closes #2]