Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9288441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T19:55:07+00:00 2026-06-18T19:55:07+00:00

I am creating a text chat application and using Ejabberd server and strophe.js. I

  • 0

I am creating a text chat application and using Ejabberd server and strophe.js.

I am using mssql as a external database for ejabberd. I transferred all the application users in users table and freinds in rosterusers table of ejabberd.

I want to specify the profile image url of application as a avatar image of ejabberd user.

Where to insert the avatar URL in ejabberd database ? I checked vcard table but no column for avatar image url ?

Can we handle it using the ejabberd database or ejabberd is managing avatars internally ?

If we can’t manage the avatars in ejabberd than how can we use it with strophe.js i.e. sepcify the avatar image and receive other roster items avatar image ?

Please help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T19:55:09+00:00Added an answer on June 18, 2026 at 7:55 pm

    Set VCard Image from URL:

    I know the profile image of user and after making the connection to the ejabberd server using strophe i am setting profile image in vcard using the strophe stanza.

    Below is example of setting the image url in the vcard:

    iq = $iq({ type: 'set', to: currentUserObj.jabberid+ "@" + CDomain }).c('vCard', { xmlns:'vcard-temp' }).c('PHOTO').c('EXTVAL', currentUserObj.profileImg);
    
    connection.sendIQ(iq);
    

    Hope it’ll help someone 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am creating a chat application using Node.js, and would like to have a
I am creating a chat application wherein I want to use smileys in the
I'm creating Text using the FormattedText class - but how can I subscript oder
I am using JSON to receive data from the web service , creating text
I'm creating a text-to-speech application. it's an ASP.NET application that makes use of the
Thank you for looking, I am creating a chat application. It works for the
I'm creating a web chat page using PHP and jQuery, and I am adding
Using snap , I wrote a splice creating text from markdown, using this function:
I am creating a text editor in C using gtk+-2.0 gtksourceview-2.0. I am having
I am using the same code for creating many text boxes. Now for validation

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.