title: How to use local static images in Svelte
body: <p>I was following the tutorial (<a href="https://svelte.dev/tutorial/dynamic-attributes" rel="noreferrer">https://svelte.dev/tutorial/dynamic-attributes</a>) to import local image files. But it didn't work. The image was not found in the app. </p>
  
  <p>Where do I need to locate these images in order to make it works as in tutorial? </p>
  
  <pre><code>let src = './images/background.jpg'
  .
  .
  .
  &lt;img {src} alt="background image" /&gt;
  </code></pre>
  
  <p>The browser showed Image not found.</p>