Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
1.0k views
in Q2A Core by
I want to put a particular user avatar in my answer while knowing the user "avatarblobid".

I know the user avatarblobid is 767677499590254252

and I want this avatar to inserted in my answer or question.

I tried as

<img src="http://q2awebsite?qa=image&qa_blobid='767677499590254252' height="30" width="30">

But it doesn't display the avatar image.

Can anyone guide me.
Q2A version: 1.5.2

1 Answer

0 votes
by

Use function qa_get_avatar_blob_html(...) from qa-app-format.php.

by
Sir, How can I use this function in the answer. I try as
qa_get_avatar_blob_html(767677499590254252,30,30,20)
but it is not showing the avatar in the answer.
by
I don't know how you're using it but that function returns HTML that you need to then output onto the page, within the theme.
by
I want to put the user avatar inside the answer of a question.
...