|
|
It is useful to see a picture of a coworker when you see his/her Properties. This way you can easily identify him/her walking down the hall towards you. This is an especially good feature for any environment where you need to know what someone looks like.
To add an image to a user's profile:
Log on to WebDir as a WebDir Administrator.
Locate the user which you would like to add a picture.
Select the user to display the Properties web page.
Click the Advanced tab and type the location of
the .gif or .jpg file into the URL field. For example,
/webdir_user_images/joesmith.gif
Click the Save button.
The picture should now be displayed on the Properties web page in place of the user icon.
If you have many user images that you need to map to users you may want to consider using a rule for the mapping instead of manually specifying each user image.
The rule specifies the path to the images, the attribute to use as the file name and the extension of the file name.
For example, suppose I have a directory on the WebDir server called c:\inetpub\wwwroot\webdir_images (/webdir_images/ from the web perspective) and this directory is full of images of all my users with the username of the user as the file name:
jsmith.jpg
nrichie.jpg
philton.jpg
The path to each file can be built on the fly with the following rule:
[FilePath] + [username] + [suffix]
/webdir_images/ + [username] + .jpg
/webdir_images/ + jsmith + .jpg
I can specify this rule by adding the following settings to my instance of WebDir:
Picture.FilePath = /webdir_images/
Picture.Attribute = mailnickname
Picture.Suffix = .jpg
Note that if WebDir cannot find the picture, it will display the default user icon instead.
Note: The user images must be on the same
machine as the WebDir installation. WebDir
will automatically re-size pictures while maintaining the aspect ratio.