code: function (url) {
        return $.Deferred(function (deferred) {
          var $img = $('<img>');
  
          $img.one('load', function () {
            $img.off('error abort');
            deferred.resolve($img);
          }).one('error abort', function () {
            $img.off('load').detach();
            deferred.reject($img);
          }).css({
            display: 'none'
          }).appendTo(document.body).attr('src', url);
        }).promise();
      }
docs: @method createImage
  
  create `<image>` from url string
  
  @param {String} url
  @return {Promise} - then: $image