title: Set image draggable dynamically
body: <p>I'm having problems setting my image to be draggable.
  This code doesn't seem to work:</p>
  
  <pre><code>var thumb = document.createElement("img");
  thumb.setAttribute('draggable', "true");
  </code></pre>
  
  <p>I create and append my image to DOM like this: 
   var thumb = document.createElement("img");</p>
  
  <pre><code>        thumb.setAttribute('draggable', "true");
          thumb.setAttribute('alt', label);
          thumb.setAttribute('id', "dhmvseries_" + label);
          thumb.setAttribute("dhmvseriesuuid",label);
  
          thumb.ondragstart =  thumbDragStart;
          thumb.ondragend = thumbDragEnd;
          thumb.onmouseover = displayThumbInfo;
          thumb.onmouseout = hideThumbInfo;
  
  var thinner = createElement("div", "dhThumbImage dhRounded");
  thinner.appendChild(thumb);
  </code></pre>