After a huge google search. I will finally find out what the problem is.
The key is that HTML cannot reference the local file for security reasons. Besides being a local HTML file, it can reference a local file in the same file directory.
And the presentation of R is actually an HTML file, such as a web page.
So, just put your image file in the same directory with the HTML file, everything will work. At least it worked for me.
Just use

source share