Fix image path with relative path