Final versions of image sender and loader
diff --git a/js/image-loader.html b/js/image-loader.html
index af791f9..4ea5b47 100644
--- a/js/image-loader.html
+++ b/js/image-loader.html
@@ -118,7 +118,7 @@
<p id="result"></p>
<div>
- <img id="image" src="data:image/png;base64," alt="Red dot" />
+ <img id="image" src="data:image/png;base64," alt="Image placeholder" />
</div>
</body>
diff --git a/js/image-sender.html b/js/image-sender.html
index 371eb1b..9990909 100644
--- a/js/image-sender.html
+++ b/js/image-sender.html
@@ -143,7 +143,7 @@
var Content = imageString.substr(beginning, length);
console.log(beginning + "; " + length);
var co = connector.put(ContentName, Content);
- document.getElementById('result').innerHTML += 'Content \'' + Content + '\' was published with content name \'' + ContentName +'\'';
+ //document.getElementById('result').innerHTML += 'Content \'' + Content + '\' was published with content name \'' + ContentName +'\'';
}
@@ -151,15 +151,16 @@
</head>
<body >
-
- <button onclick="publishImage()">Publish image</button>
+ <div>
+ <button onclick="publishImage()">Publish image</button>
+ </div>
<div >
<applet id="JavaSocketBridge" archive="JavaSocketBridge.jar" code="JavaSocketBridge.class" width="0" height="0">
</applet>
</div>
<div>
- <img id="image" src="data:image/png;base64," alt="Image" />
+ <img id="image" src="data:image/png;base64," alt="Image placeholder" />
</div>
<p id="result"></p>