public images path refactored