small modified.
Using new object style
Merge branch 'issue1' of shoffice.cmagic.cn:cmagic_code into issue1
Fix ZipFile mode
try to guess the image format
template add finished. template list finished.