Show image for shared item when selecting the icon

master
Bob Mottram 2019-07-24 11:02:23 +01:00
parent 55ccd4cb97
commit 9896dffe38
1 changed files with 1 additions and 0 deletions

View File

@ -105,6 +105,7 @@ def htmlProfileShares(nickname: str,domain: str,sharesJson: {}) -> str:
for item in sharesJson['orderedItems']: for item in sharesJson['orderedItems']:
profileStr+='<div class="container">' profileStr+='<div class="container">'
profileStr+='<p class="share-title">'+item['displayName']+'</p>' profileStr+='<p class="share-title">'+item['displayName']+'</p>'
profileStr+='<a href="'+item['imageUrl']+'">'
profileStr+='<img src="'+item['imageUrl']+'" alt="Item image"></a>' profileStr+='<img src="'+item['imageUrl']+'" alt="Item image"></a>'
profileStr+='<p>'+item['summary']+'</p>' profileStr+='<p>'+item['summary']+'</p>'
profileStr+='<p><b>Type:</b> '+item['itemType']+' ' profileStr+='<p><b>Type:</b> '+item['itemType']+' '