Thanks.
I used to create the web files through the manu of Mango, another free and open source software. But I donot how to call it in slicer’s python.
http://ric.uthscsa.edu/mango/index.html
I think the html file could be more convenient than png especially in mobile phone.