Easy option for alternative avatar providers

I’ve managed to write a custom monkey-patch to implement on-the-fly LDAP authentication and directory lookup, so when a user logs in the latest information is synched across from our LDAP server and used to create or update the user.

We already have an avatar server which will supply full size and resized images. However, I can’t work out how to set the avatar for a Zammad user, given the URL of an image file.

Ideally, there would be a way to tell Zammad how to build a URL based on one or more attributes (such as user login ID) and use that as the avatar image URL. This would allow integration with existing Intranet directory services, and also be useful for people who don’t want to use Zammad’s hosted avatar service for privacy reasons.

Failing that, if anyone can give me an example of the Rails code to create/update user avatar given the URL of an image, it would be much appreciated.

1 Like

This topic was automatically closed after 416 days. New replies are no longer allowed.