innerHTML return image

Does the image really exist? Try giving an absolute path and see what happens…