 <p><code>..</code> means to traverse one level up; you are using a relative path, not an absolute one like you should be. Drop the dots:</p> <p><code>&lt;img src="/foo/bar.png"&gt;</code> will load the image from the root of the domain.</p>