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

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

The idea would be to get the attribute value from OID using DBMS_LDAP or Java (whatever is easyer for you) and dump it in a file. Then generate the URL to the file.
When you initiate the LDAP connection to get the picture, remember to specify jpegphoto as a binary attribute.
Octavian

Similar Messages

  • Get user and Oranization Attributes  from portal channels

    Hello,
    I am trayin to retrieve some user and arganizational attributes from portal channels (2005Q1), but, with directive "<dtpc:getStringAttribute key="attribute"/>, i can not retrieve some importants attributes as "dn" and an custom attribute from the organization that contain user entry, for example, "orgIdSuscriptor".
    i don't know how to retrieve in the same channel some attributes of user entry and some attributes from oraganization entry, any one know how?
    Thank yu very much.

    Thanks that helpful in some ways, but I want to get the page_id. For example, if I create a page with the name PG_DEPT and the display name "Department Page". I need to know how to get the current PG_DEPT name from the API. Also, I will like to get the current URL from the page (http://portal/pls/portal/page=123).

  • How can I compress photos when emailing from iphoto? current photos are 7-8Mb each

    How can I compress photos when emailing from iPhoto?
    current photos are 7-8Mb each if I just attach them directly

    Aperture won't delete the photos from your iPhone. Most users have settled on using Image Capture ater importing into Aperture to delete the photos from the iPhone.

  • How to display first row value returened from a query as checked as default in a report

    How to display first row value returned from a query as checked as default in a report
    Example
    Parameter 1
    Paramerter2
    ABD
    x(checked)
    Test
    DEF
    JMG
    Mudassar

    Hi Mudassar,
    The issue is caused by the order in which the parameters appear in the report data tab can be difference between our report execution and it failing. In other words, “Parameter2” is execution before parameter “A” due to this issue. We can adjust the parameter’s
    order to solve the issue.
    If “Parameter2” is parameter “A”, we cannot use that expression. Because fields cannot be used in report parameter expression, if we want to display the first value returned from a query as default value, we have to fill the “Specify values” text box with
    the specific value in Default Values dialog box.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • How can I move photos in iPhoto from the WEB Photo Stream or WEB Facebook to one of my Events?

    How can I move photos in iPhoto from the WEB Photo Stream or WEB Facebook to one of my Events?

    From PhotoStream either drag the photos form PS to the iPhoto window or set the iPhoto peference to automatically import PS photos
    From Facebook save to isk and import from there
    LN

  • This is my first mac i have 2 hard drives installed how do i move photos or documents from one to the other

    i just bought my first imac i have 2 seperate drives on it. how do i move photos and documents from one to the other.

    This is our resident iPhoto guru, Terence Devlin's, advice:
    You can move your iPhoto Library to an external or secondary internal disk:
    1. Quit iPhoto
    2. Copy the iPhoto Library Folder as an entity from your Pictures Folder to the External Disk.
    3. Hold down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
    4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.

  • FAQ: How do I post photos to Facebook from Revel?

    Q: How do I post photos to Facebook from Revel?
    A:
    Sharing your images to Facebook
    If you have an iPad or iPhone Click, then first login to facebook on your device. Then, launch Revel, navigate to an album and click on the icon. Select the images you wish to share and select "Send".  Select the Facebook option. You will see a dialog box asking permission to access your account to upload pictures to your Facebook account. (if you were not already signed in to facebook you will need to sign into your account.
    The images are uploaded to an album titled "Adobe Revel Photos"
    If you are on a Mac, then you must select an individual photo and then click on the arrow to share the individual photo to facebook.
    If you are not using the app on a Mac, iPad or iPhone, then you will need to upload the photos to facebook from your computer. If you do not have them stored on your computer, then you an download them from Revel and upload them to facebook.
    See this link for more sharing details
    http://forums.adobe.com/message/5092831#5092831
    When you sign in to Revel, it is possible to sign in using your Adobe id, or you can click on the Facebook or Google option and login there. (See image below). When you log in with Google or Facebook, even though it looks like Revel is asking for your password, it is actually a Google/Facebook webpage asking you. By design, for your security, Revel and Adobe never touch or store your Facebook/Google password.
    It is possible to login to Revel using your Adobe Id, and then post to Facebook from your phone or ipad to a Facebook account that uses a different email account to login. You must already be logged in to Facebook on your device when you use Revel. Revel will ask permission to use your photos and post to your friends. The photo will be posted from the Revel account your are loogged into into the Facebook account you are logged into on the Facebook app on your iOS device.
    IF YOU USE THE SAME EMAILS and want to match up the passwords:
    If your emails are all the same, then you can reset all 3 accounts to have the same password if you desire.
    If you logged into Revel for the first time with Google or Facebook but would rather login to Revel using your adobe id, and you use the same email for your Adobe ID, you can log out of Revel, log back in using your adobe id (which will fail since you have never used it) and then select reset password. You can change your Adobe ID password to match either your facebook or google one if you want (or make all 3 the same if you choose).
    IF YOU USE DIFFERENT EMAILS and want to make them the same:
    If you use different email accounts to login to Facebook, Google, and your Adobe ID and you want to post from Revel to Facebook or Google, one option is to make all of the login email addresses the same. You can either change your Facebook/Google email in their website to match your Adobe ID, or you can change your email associated with your Adobe ID in Adobe.com to match the email you use for Google/Facebook.
    You can go to this link to reset your Adobe ID password: https://www.adobe.com/account/sign-in.adobedotcom.html

    https://discussions.apple.com/message/11618411#11618411
    Also, look in the More Like This panel over on the right ---------->

  • How do I transfer photos in iPhoto from my Mac Book to my iMac?

    How do I transfer photos in iPhoto from my Mac Book to my iMac?

    Depends on exactly what you want to transfer:
    The Original files: Export from iPhoto on the MacBook (File -> Export, set the kind to Original) and copy the files to the iMac. Then import to the Library on the iMac
    The Edited files: Export from iPhoto on the MacBook (File -> Export, set the kind to Jpeg or tiff, note the options for adding metadata to the export) and copy the files to the iMac. Then import to the Library on the iMac
    Both and all the Metadata: Link the two Macs together and use  iPhoto Library Manager
    Regards
    TD

  • How can iTune-synched photos be deleted from iOS devices if the iTunes computer is no longer available?

    How can iTunes-synched photos be deleted from iOS devices if the iTunes computer is no longer available?
    This can happen because the iOS device is on travels distant from the iTunes computer, because the iTunes computer is on travels distant from the iOS device, because the iTunes computer has failed permanently, because the iTunes computer has been stolen, etc.

    KRDHarris-
    The only possibility I can think of, is to consult with an Apple Store Genius.  See if there is some kind of Apple proprietary software or diagnostic tool that can do it.
    I do not think you want to, but you could go to Settings-General-Reset-Erase All Content and Settings.  If you decided to do that, you might be able to restore from a previous backup when you get home.
    Fred

  • How do I import photos to iPad2 from different folders in my Mac?

    How do I import photos to iPad2 from different folders in my Mac?
    I have a few folders of photos in my mac that I want to be on my iPad2. How do I go about on doing that?
    It seems like I need to put all the folders into one folder and point iTunes to that main folder.
    The thing is I don't want to copy them (waste of space) and I don't want to move them (my photos are organized).
    So is there a way for me to import photos from different folders in my mac to my iPad2?
    Thank you!
    BTW... I don't use iPhoto.

    Find software (which may not exist) to export them in a photo format (jpeg, tiff). IPhoto will not do it
    LN

  • Iphone 4s - How can I import photos or videos from a PC

    Iphone 4s - How can I import photos or videos from a PC

    You can't, natively with the iPhone. The photo sync is one way: computer to phone. To do what you want requires third-party software, like this:
    http://www.ecamm.com/mac/phoneview/

  • Anyone knows how to get the photos after IMG_9999 from iphone? :-(ps:... i got them all in my camera roll but when i connected to the computer there's nothing after IMG_9999..

    anyone knows how to get the photos after IMG_9999 from iphone? :-(ps:... i got them all in my camera roll but when i connected to the computer there's nothing after IMG_9999.. many thanks :-)

    They show in the camera roll, just not your computer?
    Have you checked every folder that is in the DCIM folder?

  • How to send a photo via bluetooth from iphone 5s to laptop

    how to send a photo via bluetooth from iphone 5s to laptop

    Connectivity between an iPhone and a computer via Bluetooth is extremely limited. It supports tethering (hotspot or internet sharing) if your cellular plan allows that but does not support transfer of photos. You can import photos from the Camera Roll to the computer via USB or via wifi as described in http://support.apple.com/kb/HT4083

  • How do you edit photos with photoshop from the new  Photos app?  The edit in external editor menu item seems to be gone.

    How do you edit photos with photoshop from the new  Photos app?  The edit in external editor menu item seems to be gone.

    Tell Apple what additional features you want in Photos via both http://www.apple.com/feedback/macosx.html and http://www.apple.com/feedback/iphoto.html  since they don't have a feedback page for Photos as yet.

  • How do i sync photos and videos from a nokia 1020 to my ipad? is there an app like photo sync that works with the nokia?

    how do i sync photos and videos from a nokia 1020 to my ipad? is there an app like photo sync that works with the nokia?

    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
     Cheers, Tom

Maybe you are looking for

  • All fields are not mapped in transformation 0IC_C03 to 2LIS_03_BF_TR

    I have replicated BI7 data sources of 2lis_03_BF,BX & UM from ECC. All the infosources are BI7 infosources.After installing the BI Content for 0IC_C03, infosource 2LIS_03_BF_TR is not active.When I am trying to activate the transformation it is showi

  • Can't receive mail and lost mail

    Just went to mail and found existing mail  had disappeared. Not receiving new mail. Where do i find it? Receiving on iphone & ipad. The stored mail & received mail on iphone & ipad. Just got a problem with the imac.

  • Can't add document or contact owner in scorecard.

    Hi, I use BIEE 11.1.5.0. In a scorecard, I add a document or send message to the owner. After click Ok on the dialog, nothing happen. It didn't show new added documents and messages.

  • No center speaker sou

    I have a Sound Blaster Li've! 5. sound card and just recently bought some Inspire P5800 speakers, I had alot of trouble getting them to work at first (problems in AudioHQ) but eventually I got those sorted out. Now all the speakers work but the cente

  • Table which stores SU01 Master Data (Telephone Number)

    Hi Experts, We goto SU01 tcode to get the master data of SAP ID. I was able to track the table which is updated for all except the TELEPHONE NUMBER which is present there. Could you please advice in which table the TELEPHONE NUMBER is stored ? I trie