implementation XHWebImageManager logic