diff --git a/index.v5.html b/index.v5.html
index 1f8c658..4abf748 100644
--- a/index.v5.html
+++ b/index.v5.html
@@ -227,7 +227,6 @@ DcJqR5clbAYlO9lHmvb4lsPLZHjugQ==
if (headers["photo-url"] && headers["photo-hash"]) {
const url = Base32URL.decodeAsString(headers["photo-url"]);
CRED.verifyEndPoint(url, headers["photo-hash"]).then(verified => {
- console.log(verified);
if (verified) {
UIUtils.drawPicture(elemPref+'-code',url);
}
diff --git a/js/ui-utils.js b/js/ui-utils.js
index f323c95..80fa07c 100644
--- a/js/ui-utils.js
+++ b/js/ui-utils.js
@@ -22,8 +22,17 @@ var UIUtils = {
imageObj.src = url.toLowerCase();
imageObj.onload = function() {
context.drawImage(imageObj,
- e(element).width / 2 - imgDim.width / 2 +1,
+ e(element).width / 2 - imgDim.width / 2,
e(element).height / 5 - imgDim.height / 2,imgDim.width,imgDim.height);
+
+ const imgDim2= {width:e(element).width/10,height:e(element).width/10}; //logo dimention
+ var imageObj2 = new Image();
+ imageObj2.src = './img/ok-256.png';
+ imageObj2.onload = function() {
+ context.drawImage(imageObj2,
+ e(element).width / 2 - imgDim.width / 2 + imgDim2.width * 2,
+ e(element).height / 5 - imgDim.height / 2 + imgDim2.height * 2 , imgDim2.width,imgDim2.height);
+ };
};
}
},