Refactoring images paths