URL resolve bug fix for images. It still used rootDir when an absolute path had been specified making rootDir null.