made img folder relative to xml file