fix getGalObjForImgId in importImgSelect.js