{ name: "Dimensions", value: this.imagePreviewElement.naturalWidth + " \u00D7 " + this.imagePreviewElement.height }, { name: "File size", value: (this.resource.contentLength / 1024).toPrecision(2) + "KB" }, { name: "MIME type", value: this.resource.mimeType } 
{ name: WebInspector.UIString("Dimensions"), value: WebInspector.UIString("%d × %d", this.imagePreviewElement.naturalWidth, this.imagePreviewElement.height) }, { name: WebInspector.UIString("File size"), value: WebInspector.UIString("%.2fKB", (this.resource.contentLength / 1024)) }, { name: WebInspector.UIString("MIME type"), value: this.resource.mimeType } 
WebInspector.ImagePanel = function(resource){    WebInspector.ResourcePanel.call(this, resource);    this.element.addStyleClass("image");    var container = document.createElement("div");    container.className = "image";    this.element.appendChild(container);    this.imagePreviewElement = document.createElement("img");    this.imagePreviewElement.setAttribute("src", this.resource.url);    container.appendChild(this.imagePreviewElement);    container = document.createElement("div");    container.className = "info";    this.element.appendChild(container);    var imageNameElement = document.createElement("h1");    imageNameElement.className = "title";    imageNameElement.textContent = this.resource.displayName;    container.appendChild(imageNameElement);    var infoListElement = document.createElement("dl");    infoListElement.className = "infoList";    var imageProperties = [        { name: "Dimensions", value: this.imagePreviewElement.naturalWidth + " \u00D7 " + this.imagePreviewElement.height },        { name: "File size", value: (this.resource.contentLength / 1024).toPrecision(2) + "KB" },        { name: "MIME type", value: this.resource.mimeType }    ];    var listHTML = '';    for (var i = 0; i < imageProperties.length; ++i)        listHTML += "<dt>" + imageProperties[i].name + "</dt><dd>" + imageProperties[i].value + "</dd>";    infoListElement.innerHTML = listHTML;    container.appendChild(infoListElement);}
1725	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1725/11650fd39ffebe23630ae00304720f3195cfabd4/ImagePanel.js/clean/WebCore/page/inspector/ImagePanel.js