setting RootImagePath for wp