embed_item function does not raise if image file not found

Fixes #968