AE-62 when adding an image, return the generated dom element and the original file closes #62