title: jQuery get each image src attribute and place it as DIV background
body: <p>Please help me with jQuery code.</p>
  
  <p>Need to get each image (img) attribute and place it to the div's background.
  I already have this, but its not working in the right way:</p>
  
  <pre><code>var $source = $("img").attr("src");
  $('div').each(function () {
      $(this).css({
          'backgroundImage': 'url(' + $source + ')'
      });
  });
  </code></pre>
  
  <p>Check link please: <a href="http://jsfiddle.net/SCqQg/156/" rel="nofollow">JSFIDDLE</a></p>
  
  <p><strong>PS</strong>. </p>
  
  <p>Adding specific class for each image in not solution because list gonna be very big and dynamic.</p>