title: Can't load image with spring boot thymeleaf
body: <p>I'm very new to spring boot and following <a href="https://springframework.guru/spring-boot-web-application-part-2-using-thymeleaf/" rel="noreferrer">Guru spring framework</a> tutorial.</p>
  <p>My simple spring boot application runs successfully and my controller works fine.
  I have used thymeleaf to show html pages and used some <strong>bootstrap css</strong>.everything works fine but an image tag that I have in one of my html pages.
  Thymeleaf shows the correct page when I run the app but image is not shown.I googled about this and put my images under /resources/static/images.This is my project structure :</p>
  <p><a href="https://i.stack.imgur.com/JI4rZ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/JI4rZ.png" alt="enter image description here" /></a></p>
  <p>I have also copied the same image to templates directory and used both files but none can be loaded.</p>
  <p>This is my html file :</p>
  <p><a href="https://i.stack.imgur.com/ESsSA.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ESsSA.png" alt="enter image description here" /></a></p>
  <p>And this is what I get when I run the application :</p>
  <p><a href="https://i.stack.imgur.com/Co8Cr.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Co8Cr.png" alt="enter image description here" /></a></p>
  <p>404 not found error :</p>
  <p><a href="https://i.stack.imgur.com/zSw1m.png" rel="noreferrer"><img src="https://i.stack.imgur.com/zSw1m.png" alt="enter image description here" /></a></p>
  <p>Can anyone tell me what I'm missing?</p>