title: Inserting an image from local directory in thymeleaf spring framework (with maven)
body: <p>I have developed a project using this link: <a href="https://spring.io/guides/gs/serving-web-content/" rel="noreferrer">https://spring.io/guides/gs/serving-web-content/</a> I used maven to develop above project.</p>
  
  <p>I have two html files under this. abc.html and xyz.html. To insert images in the html page, I have used the url like this:</p>
  
  <pre><code>&lt;img src="https://example.com/pic_mountain.jpg" alt="Mountain View" style="width:304px;height:228px"&gt;
  </code></pre>
  
  <p>But I want to use an image file located in my server instead. I tried placing the file in the same directory of html file but its not working. I even tried giving full path but of no use. This is an ubuntu OS. Please help me out here. Is there any place where I can configure the base path or basically how to put an image from my local folder.</p>