Skip navigation
3894 Views 5 Replies Latest reply: Nov 7, 2008 10:39 AM by LG RSS
Bryon Whitley Bronze 21 posts since
Sep 5, 2007
Currently Being Moderated

Nov 5, 2008 6:20 AM

Avatars

I have a disk loaded with all of the thumbnails of users that are on spark/openfire. Is there a way to load it on the server and push it down to the users localy. Instead on loading each one on each PC. Users are on a local lan.

  • Coolcat KeyContributor 797 posts since
    Mar 19, 2007
    Currently Being Moderated
    Nov 5, 2008 6:53 AM (in response to Bryon Whitley)
    Re: Avatars

    Theoretical avatars are cached on the server for performance reasons. It should be possible get access to this data in the database (table ofVCard). When the users login again, they will get their new avatar image. However, there are multiple XMPP extensions which deal with avatars. I don't know which of these Spark does support.

      • Coolcat KeyContributor 797 posts since
        Mar 19, 2007
        Currently Being Moderated
        Nov 5, 2008 7:49 AM (in response to Bryon Whitley)
        Re: Avatars

        Try VCardManager. However, since there are several kinds of avatars I'm not sure if this will work for all avatars...

         

        VCard-based avatars are included inside the vCard as follows:

            <PHOTO>
              <TYPE>image/jpeg</TYPE>
              <BINVAL>
                Base64-encoded-avatar-file-here!
              </BINVAL>
            </PHOTO>
        

        See XEP-0153 for details. XEP-0054 does also define Avatar, but I'm not familar with that.

  • sixthring KeyContributor 3,797 posts since
    Apr 2, 2007
    Currently Being Moderated
    Nov 5, 2008 8:04 AM (in response to Bryon Whitley)
    Re: Avatars

    There is no real way to embed this data into their profiles, especially in light of the fact that you are using the embedded database.  If you are using any sort of LDAP this makes it even more interesting.  For instance Active Directory can store avatar images.  You just need a third party tool to put them in place.  Openfire will use these images for avatars.   Regardless of whether you are using LDAP I would just send the appropriate images to each user and instruct them on how to implement them.  Remember unless the images come from an outside source like LDAP the user can change them.

  • LG KeyContributor 6,131 posts since
    Dec 13, 2005
    Currently Being Moderated
    Nov 7, 2008 10:39 AM (in response to Bryon Whitley)
    Re: Avatars

    Hi Bryon,

     

    do you want to modify the vCard of the users and add a picture for them?

    Non-Jive Openfire Pluginscontains some vCard plugins, the source code may help you to write an import plugin.

     

    LG

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points