PhenixID

PSD1151 – Add images to LDAP object

Summary

This PhenixID Solution Document (PSD) is written for PhenixID Identity Manager (IM) 5.4.1 or later.

This PSD explain how to add an images to an LDAP object. For example you like to add an JPEG photo of a user to its user object.

System Requirements

  • PhenixID IM Web 5.4.1 or later
  • PhenixID IM Configurator 5.4.1 or later

Overview

Add and configure the custom control se.nordicedge.controls.ImageManager to your Create or Edit form.

Configuration

Add control to form

  1. Open a Create or Edit form
  2. Add the custom control se.nordicedge.controls.ImageManager
    1. Add value to the parameters as you feel fit
  3. Map the control to the LDAP attribute that should store the image
  4. Make sure the syntax for the control is set to Binary
  5. Save and test the form

Misc

  • Default max size for images is 500KB.
    To change this value, set the following policy in DSEditor.properties:
    Photo.MaximumSize=
  • If default image is configured, the file should be placed relative to the application web folder: <IMinstallationdir>/customer/extension/web.
    Also the default image is never stored to LDAP object.

DISCLAIMER
Information provided in this document is for your information only. PhenixID makes no explicit or implied claims to the validity of this information. Any trademarks referenced in this document are the property of their respective owners.

The origin of this information may be internal or external to PhenixID. PhenixID makes all reasonable efforts to verify this information.

PhenixID - support.phenixid.se