[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
How do i store an jpeg photo in ldap and how do I interpret search a photo with a browser
I got a problem with adding a photo in the ldap server. I don't know how to
store search a photo in the LDAP server and how to interpret this photo with
a browser.
I tried to do it in the following way.
/usr/local/sbin/ldif -b jpegPhoto < /export/home/axel/axel.jpg
With this command a plain text came out. Copied this to the LDAP server on
the way below:
jpegphoto::/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAoHB...etc
When doing it in this way the brower gifes the following:
jpegphoto: ÿØÿà
Also tried the same with one collon, in that way the compleet jpeg code is
shown in the browser.
Now my question is, how can i show this photo in my browser,
Hopefully someone can help me, thanx in advance, greeting,
Axel