0 votes

After search a little bit on the forum, I thought I should be able to use jpegPhoto and thumbnailPhoto using Adaxes.

However, I have been unable to load a photo into the jpegPhoto attribute successfully. Any guidance on this?

by (1.2k points)

1 Answer

0 votes
by (216k points)
selected by
Best answer

Hello,

Currently, it is impossible to load a photo into the jpegPhoto attribute via the Web Interface. In the next major version of Adaxes, we a re going to improve handling of photos in Adaxes, including the possibility to use more attributes for photos than just thumbnailPhoto.

Until the new version is available, you can update the jpegPhoto attribute using a script. For example, you can create a script that will load a photo for a user from a certain file share. Then, you can create a Custom Command that can be used in Adaxes to run the script on a particular user. If you need, we can provide you a script sample.

0

It would be awesome if auto-cropping for square headshots could be integrated, check out this powershell example: http://www.myskypelab.com/2015/02/photo ... iness.html .

That way, someone could upload whatever size photo (config permitting) and the software would attempt an auto crop and resize.

Trying to get people to crop 1:1 before uploading pictures is near impossible. ;)

Related questions

0 votes
1 answer

When we create a shared mailbox, we create an associated mail-enabled security group. In the security group I want to populate the description field with the name of the shared mailbox ... How can I get just the "name" of the shared mailbox versus the full DN?

asked Feb 4, 2021 by atnorman (120 points)
0 votes
1 answer

I've got a scheduled agent that is attempting to export data for updated employees. When an employee record is updated, we're setting the value of the LDAP custom attribute ... ") # Release resources used by the search $userResult.Dispose() return } ...

asked Oct 17, 2015 by sandramnc (870 points)
0 votes
1 answer

Code is below. But the subject says it all. When I run the command targeted in this function via the Adaxes GUI or the web interface, it runs without issue. When run using this ... = $null } } end { $admNS = $admService = $credUser = $credPwd = $null } }

asked Apr 3 by jrtolle (20 points)
0 votes
1 answer

Hello, I am having issues using ADSI and Searcher to find and report on a user's secondary account. We used to use LDAP Filters in our scripts to essentially search if a user ... later on in the script to add the secondary admin account to a group. Thank You!

asked Feb 2 by Edogstraus00 (470 points)
0 votes
1 answer

I need to add many check-box list items to a Custom Command, I think the best way to do this is via PowerShell rather than through the UI. What's ... Softerra.Adaxes.Interop.Adsi.Parameters.IAdmParameterCheck[]]$ItemsList # Also doesn't work $command.SetInfo()

asked Jan 4 by Viajaz (210 points)
3,351 questions
3,052 answers
7,794 comments
545,115 users