Questions and Answers

How do I collect points?

  • +4
    Chosen as best answer
  • +1
    Posted answer
  • +1
    Posted question
  • +1
    Thumb up
  • -1
    Thumb down
2

by Sandip Chandela in Coding about May 9, 2014 open - report

Photo in Chat

Can we add user photo/profile picture in Chat ?

I have seen core javascript file for that but nothing found.

Currenlty only name are displaying in chat while two members/friends are chatting.

Can any one having solution for this?

Thanks you in advance.

 

Sandip

Answers: 2  •  Score 0  •  Views: 1015

2 Answers
Browse by
  • 2

    by Sandip Chandela about May 17, 2014

    Hello friends,

    Here it is.

    Technically only want to add new element by following snippet and finally inject to main

    messageEl:

     

    (new Element('img', {'class' : 'im_convo_messages_author_photo', 'src' : user.photo}).inject(messageEl));

     

    Happy coding enjoy coding.

    • Score: 0
  • 264

    by Gaurav Sharma about May 9, 2014

    There is no basic functionaality.I think you have to write the code for this.

    2 comments
    • Sandip  Chandela
      by Sandip Chandela
      May 12, 2014

      Thanks for the reply.
      Anyways, I have found the solution.
      Sandip

    • Nick
      by Nick
      May 15, 2014

      What solution have you found?

You must login to post an answer.