Title: Custom Attribute with Binary Data
Last modified: September 21, 2020

---

# Custom Attribute with Binary Data

 *  Resolved [dvtxc](https://wordpress.org/support/users/dvtxc/)
 * (@dvtxc)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/custom-attribute-with-binary-data/)
 * I have been able to retrieve and map custrom LDAP attributes. However, one custom
   LDAP attribute I would like to map, contains binary data (images in PNG format).
 * I am looking for a way to safely write this data to the database. Since the WP
   tables do not contain blobs, can the plug-in encode this binary data into Base64
   before writing the attribute content to the database?

Viewing 1 replies (of 1 total)

 *  Plugin Author [miniOrange](https://wordpress.org/support/users/cyberlord92/)
 * (@cyberlord92)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/custom-attribute-with-binary-data/#post-13438668)
 * Hello Dvtxc,
 * We have received your query on our end. You can achieve your requirement using
   our Profile picture synchronization add-on.
    We are marking this thread as resolved.

Viewing 1 replies (of 1 total)

The topic ‘Custom Attribute with Binary Data’ is closed to new replies.

 * ![](https://ps.w.org/ldap-login-for-intranet-sites/assets/icon-128x128.gif?rev
   =2664776)
 * [Active Directory Integration / LDAP Integration](https://wordpress.org/plugins/ldap-login-for-intranet-sites/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ldap-login-for-intranet-sites/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ldap-login-for-intranet-sites/)
 * [Active Topics](https://wordpress.org/support/plugin/ldap-login-for-intranet-sites/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ldap-login-for-intranet-sites/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ldap-login-for-intranet-sites/reviews/)

## Tags

 * [Active Directory](https://wordpress.org/support/topic-tag/active-directory/)

 * 1 reply
 * 2 participants
 * Last reply from: [miniOrange](https://wordpress.org/support/users/cyberlord92/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/custom-attribute-with-binary-data/#post-13438668)
 * Status: resolved