code: function(img) {
  
        var self = this;
  
        if (!(img instanceof HTMLImageElement)) {
          cartodb.log.error("img should be an image");
          return;
        }
  
        this.imageOptions.size = [img.width, img.height];
  
        this.queue.add(function(response) {
          img.src = self._getUrl();
        });
  
      }
docs: /* Methods /* Image.into(HTMLImageElement)
  inserts the image in the HTMLImageElement specified