Clicking on image opens it

master
Bob Mottram 2019-07-21 13:24:38 +01:00
parent f19fbf7941
commit 44eead36a8
1 changed files with 2 additions and 1 deletions

View File

@ -68,7 +68,8 @@ def individualPostAsHtml(postJsonObject: {}) -> str:
if attachmentCtr>0: if attachmentCtr>0:
attachmentStr+='<br>' attachmentStr+='<br>'
attachmentStr+= \ attachmentStr+= \
'<img src="'+attach['url']+'" alt="'+imageDescription+'" title="'+imageDescription+'" class="attachment">\n' '<a href="'+attach['url']+'">' \
'<img src="'+attach['url']+'" alt="'+imageDescription+'" title="'+imageDescription+'" class="attachment"></a>\n'
attachmentCtr+=1 attachmentCtr+=1
return \ return \