How can you make this work?

by Volker Weber

st75

IBM shows a nice picture on your buddy's card. How can you make this work? Where do you have to put the photo?

Comments

http://www-1.ibm.com/support/docview.wss?uid=swg21244204

Andy Mell, 2006-08-23 01:23

Put it into the directory, as you would think!
Ok. There are multiple scenarios, so here is the short version:

1. LDAP:
If Sametime is configured to use any LDAP directory (including DominoLDAP), just upload a jpeg image to the standard attribute jpegPhoto.
The default configuration will work then. You can also configure the field name in Sametime Admin - Business Card.

2. Domino-Only:
You currently have to add a field to the NAB manually, and put the field name in Sametime Admin - use correct spelling and move the field in the Business Card Admin to the top.

3. For other Scenarios there is a toolkit that allows to implement some code that retrieves the image from another source.

I tried scenario 2 and it worked instantly with a jpeg file.

Volker

Volker Jürgensen, 2006-08-23 01:28

IBM does not provide a new template for the address book? It the customer still supported although he has changed the address book?

This is a Sametime release, not a Domino update.
Be assured, it will be there. Soon.

Volker

Volker Jürgensen, 2006-08-23 01:40

Ok what we really miss is the ability to connect AOL, GTalk and Yahoo. When will this be available?

cheers marco

Then I guess the answer should be:

Q: How to add photos to your Domino directory?
A: You should refresh the address book with the 7.0.2 (??) template. If you cannot do this, here are the instructions to add a new field to the address book: ...

vote yes for 7.0.2 update ;-)

Gah, I really wish the Sametime client supported uploading pictures to the Domino directory in a nice user friendly fashion. This seems a logical solution.

Who is going to upload their picture into their domino directory entry? Most Notes users dont even know the domino directory exists.

Now I will have to get someone to write a script to process all our staff photos saved in jpeg format and load them into the domino directory.

Andy Mell, 2006-08-23 02:34

Hi Andy,
this is a good idea, but still many organizations may not want this because they fear to end up with many Donald Ducks or Dilberts...

While waiting for IBM to do this, download the SDK and build a plug-in to do this. The integration guide is just great to start.

Who's first on this?
(Java Skill for LDAP may be required depending on your solution approach...)

Volker Jürgensen, 2006-08-23 02:54

You don't have to modify your addressbook. The Domino directory supports LDAP, so it already has a field called "jpegPhoto".
(Just look at the document properties)
Send yourself an email with your photo as jpeg attachment.
Extract the base64 text representation of the photo from the mail.
Put this in the jpegPhoto field.

Tobias

Bluepages ;-)

Instead of 4 different ways of jumping through flaming hoops, a nice and clean "Profile" button with a dialog that understands drag & drop would have done the trick (and a few others).

We'll see what iChat brings us in Leopard :)

(Just for the record: My PC at work has Sametime Connect running, most of my colleagues are on-line, but why do they contact me via Skype on the PC or iChat/Adium on my Mac?)

I am still interested in an answer to Marco´s question: "ability to connect AOL, GTalk and Yahoo. When will this be available?"

I've created a guide document. The procedure is detailed on my blog at this url

http://www.bingham.co.za/?p=28

Grant's Link

Nice one Grant, is this a supported modification to the standard template?

Ben Rose, 2006-08-23 14:22

Ben, the changes Grant made are based on the procedure in IBM's Sametime 7.5 administration guide (chapter 9). Supported? Depends what that means.... I'm a bit unsure myself why the Person document has never contained a rich text photo field as a default. There is a text one (called "Photo"), hidden at the bottom - probably supporting some LDAP integration feature, I suspect when IBM were looking at Workplace using Domino LDAP, but it is obviously not meant for inserting a photo from the user interface, but rather from an LDAP editor.

The Sametime admin guide can be found here:
Sametime

Adeleida, Notes V3 used to contain a rich text field for photos, it was removed in later templates. Now I guess it will be going back :-)

Carl: a dominosaurus in our midst :) (not referring to age but experience...whatever, you know what I mean!). Yes, that's one release before my time, I wonder why they took it out.

Regarding the Community Gateway (AOL/GTalk/Y!), it was pushed back along with the Mac client. I'm guessing it will be in ST 7.5 SP!? :)

Yes same question here, what about the mac client? Thank You Chris.

@Tobias: so what is the photo field on $PersonInheritableSchema for then?

Dave: Tobias could probably answer this question better, but I do remembered using the field when we were playing with Workplace Services Express. As Tobias said, you update the field value with the base64 representation of a photo. This must be done from outside Notes via an LDAP Editor. Yes. Real user-friendly. It works, but what a struggle. And may I mention, after having had to figure all that out, we still could not get Workplace to use Domino LDAP...

Photo in BASE64 format is the representation in a vcard file. So it is indeed the internal storage format for a picture. Now you only need to design a dialog to add the photo. You may want to steal from iChat. This is the single best way to select a picture, the correct zoom factor and then crop the image.

That reminds me of the picture selector on the Symbian Series 80 platform.

Ben Rose, 2006-08-23 18:58

That is excusable. You have only seen the screenshot, but not how it works.

i tried to paste a base64 encoded jpeg to the hidden field "jpegphoto" in the person document in names.nsf (changed the hide-when formula).
the data is now in there, but any ldap browser, like jxplorer refuses to display the image. any ideas?

Post a comment











Shall I remember this for you?




Use your full name and a working email address. Unless you want your comment to be removed. No kidding.



Ceci n'est pas un blog

vowe.net is a personal website published by Volker Weber a.k.a. vowe. I am an author, consultant and systems architect based in Darmstadt, Germany.

rss Click here to subscribe

Hello

About me
Contact
Publications
Certificates
Frequently asked questions

Twitter Updates

More >

Poll

Which BlackBerry could be your next one?

Getting poll results. Please wait...

Local time is 18:54

visitors.gif
149 visitors online

News

Other sources of news, imported into my own format to make them more accessible:

Heise Online
Schlagzeilen
Weather

Archives

As most of my articles roll off the front page rather quickly, I am making an archive of previous posts available here. You can also use the handy search box at the top of the page if you are looking for something particular.

Last 30 days
More archives

Got the T-shirt?

Got the T-shirt?
Are you buying from the US?

Systems Architecture

This site runs on an Apache web server on top of the Linux operating system. The content is managed with MovableType which is implemented in Perl. Last but not least the HTML code your browser sees is put together with PHP.

© 1992-2008 Volker Weber.
All Rights Reserved.

Impressum