[PATCH 06/11][image_factory] Use BaseAdaptor in imgfac.py