Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How To Display User Photo (jpegphoto attribute) From OID LDAP Entry

Matt HawkinsNov 19 2008 — edited Nov 19 2008
Hello everyone,

I've spent a few days looking for a solution to this problem with no luck.

I have a PLSQL database package that generates an organisation chart of users. It works fine but I am struggling to retrieve the users photo.

I have tried linking to the jpg files in my /oiddas/ui/oracle/ldap/das/Images/users/ folder but these files do not always exist so this is unreliable. These files only appear to be created if a user has previously viewed their profile in Self Service Console. Even if the files exist they are often out of date and don't reflect the photo held in OID.

I know the photo is stored in the jpegphoto attribute and I have been using DBMS_LDAP calls to retrieve other user details but I just can not find a definitive answer to how I send this image to the browser.

If anyone has any ideas, sample code or web links it would be appreciated.

Thanks,

Matt
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 17 2008
Added on Nov 19 2008
1 comment
956 views