removing the relpath for imgDir