Expand image and contextPath