add a picture for each user

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • steph@ne
    Junior Member
    • Jun 2007
    • 14

    #1

    add a picture for each user

    Now, I have a picture of each user and I want to add this picture to each OX user. Does it exist a batch procedure ?
    thanks for your tips
  • Martin Heiland
    Open-Xchange Quality Assurance
    • Feb 2007
    • 3695

    #2
    Hi,

    you could use the users credentials to start a HTTP API session and upload the image. See the HTTP API description at oxpedia for more information how to use it.

    Greetings

    Comment

    • steph@ne
      Junior Member
      • Jun 2007
      • 14

      #3
      not very easy :-(
      I have tried to inject via SQL requests and it seems that I have to create an entry in the prg_contacts_image and to set intfield04 in the table prg_contacts. Is it correct ?

      Comment

      • Martin Heiland
        Open-Xchange Quality Assurance
        • Feb 2007
        • 3695

        #4
        Manual modifications at the database are not supported and may result in severe errors, we offer an API for that. But yes, that should be sufficient to add a contact image.

        Greetings

        Comment

        Working...
        X