title: Dropzone.js CSS
body: <p>I have a upload by <code>dropzone.js</code>. I added the next code to my JS:</p>
  <pre><code> thumbnail: function(file, dataUrl) {
      var thumbnail = $('.dropzone .dz-preview.dz-file-preview .dz-image:last');
      thumbnail.css('background', 'url('+dataUrl+')');
      var $fotoramaDiv = $('.fotorama').fotorama();
      var fotorama = $fotoramaDiv.data('fotorama');
      fotorama.push({img: dataUrl, thumb:dataUrl});   
   }
  </code></pre>
  <p>I have only one problem - when I upload more than one picture at the same time I get only the last picture.</p>
  <p><a href="https://i.stack.imgur.com/rN8NN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rN8NN.png" alt="image" /></a></p>
  <p>This is the situation if I remove <code>:last</code>
  <a href="https://i.stack.imgur.com/18hIu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/18hIu.png" alt="image2" /></a></p>
  <p>How can I solve this?</p>
  <p>SOLVED!</p>