forked from indymedia/epicyon
Clicking on image opens it
parent
f19fbf7941
commit
44eead36a8
|
@ -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 \
|
||||||
|
|
Loading…
Reference in New Issue