title: NextJS - How to add a parameter in the link of an image inside a loop
body: <p>my object movies.map not working images <code>{movie.poster_path}</code></p>
  
  <p>NextJs version: 6.1.1</p>
  
  <p>Line </p>
  
  <pre><code>&lt;img className="card-img-top" src="http://image.tmdb.org/t/p/w185//{movie.poster_path}" alt={movie.title} /&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/3dbLC.png" rel="nofollow noreferrer">printscreen</a></p>
  
  <p>Complete code</p>
  
  <pre><code>  &lt;div className="row"&gt;
      {movies.results.map((movie) =&gt; (
        &lt;div className="col-3"&gt;
          &lt;div className="card" styles={{ width: '18rem' }}&gt;
            &lt;img className="card-img-top" src="http://image.tmdb.org/t/p/w185//{movie.poster_path}" alt={movie.title} /&gt;
            &lt;div className="card-body"&gt;
              &lt;h5 className="card-title"&gt;{movie.title}&lt;/h5&gt;
              &lt;p className="card-text"&gt;{movie.overview}&lt;/p&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      ))}
    &lt;/div&gt;
  </code></pre>