I use a php script to query our LDAP and output the results to HTML - now I also want to get the thumbnailphoto but I struggle to convert the encoded image.
The image data looks like this:
$data = $ldapResults[$i]['thumbnailphoto'][0];
echo "<td>" .$data . "</td>";
I found this post @stackoverflow but I can't get it to work.
What do I need to do to display the image properly?
Thank you.