added some comments to image plugin