Store gravatar image in DB
This commit is contained in:
1 parent
1480545f1b
commit
3d5450319d
4 files changed
+36
-28
No files matched your search
+1
-1
@@ -843,7 +843,7 @@ function getPost(asPost) {
|
||||
break;
|
||||
case 'post':
|
||||
bLink = true;
|
||||
var $SigImg = asPost.email_hash?$('<img>', {'src':'https://www.gravatar.com/avatar/'+asPost.email_hash+'?d=404&s=24', 'alt':'--'}):($('<span>').text('-- '));
|
||||
var $SigImg = asPost.gravatar?$('<img>', {'src':'data:image/png;base64, '+asPost.gravatar, 'alt':'--'}):($('<span>').text('-- '));
|
||||
$Body = $('<div>')
|
||||
.append($('<p>', {'class':'message'}).text(asPost.content))
|
||||
.append($('<p>', {'class':'signature'})
|
||||
|
||||
Reference in new issue
Block a user