code: function() {
          if (!this.imgDiv) {
              this.imgDiv = OpenLayers.Tile.Image.IMAGE.cloneNode(false);
  
              var style = this.imgDiv.style;
              if (this.frame) {
                  var left = 0, top = 0;
                  if (this.layer.gutter) {
                      left = this.layer.gutter / this.layer.tileSize.w * 100;
                      top = this.layer.gutter / this.layer.tileSize.h * 100;
                  }
                  style.left = -left + "%";
                  style.top = -top + "%";
                  style.width = (2 * left + 100) + "%";
                  style.height = (2 * top + 100) + "%";
              }
              style.visibility = "hidden";
              style.opacity = 0;
              if (this.layer.opacity < 1) {
                  style.filter = 'alpha(opacity=' +
                                 (this.layer.opacity * 100) +
                                 ')';
              }
              style.position = "absolute";
              if (this.layerAlphaHack) {
                  // move the image out of sight
                  style.paddingTop = style.height;
                  style.height = "0";
                  style.width = "100%";
              }
              if (this.frame) {
                  this.frame.appendChild(this.imgDiv);
              }
          }
  
          return this.imgDiv;
      }
docs: Method: getImage
  Returns or creates and returns the tile image.