added methods for creating ImgNode
added ImgNode
fixed clear bug