add export and imgname->imgpath