cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1617
Views
16
Helpful
11
Replies

CUPC Photo

mymite060708
Level 1
Level 1

I am trying to display photos in CUPC. I was told I could store them on a web server as a jepg. Then in AD set the Wep page field to the address of the photo (http://<web server><filename>.jpeg) Then in presence admin set the CUPC photo attribute to the URL AD attribute.

But it does not work - any suggestions?

11 Replies 11

William Bell
VIP Alumni
VIP Alumni

Actually, I thought that you used the jpegPhoto attribute in AD to accomplish this task. See this thread for more information:

https://supportforums.cisco.com/message/1120100#1120100

HTH.


Regards,
Bill

Please remember to rate helpful posts.

HTH -Bill (b) http://ucguerrilla.com (t) @ucguerrilla

Please remember to rate helpful responses and identify

htluo
Level 9
Level 9

1) You should use wildcards in URL so it can associated different users to differen photos.  For example: http://web-server/%%uid%%.jpg.  CUPC will replace the %%uid%% with the CUPC logon ID.

2) Make sure the client computer can access the URL.  Open a web browser from the client computer and type the URL.  Of course, you need to replace the wildcard with actual user name.  For example: htp://web-server/jsmith.jpg.  You should be able to see the photo without any authentication requirements.

Michael

http://htluo.blogspot.com

Thanks for that tip on user id.

Can I check my settings with you as I still can't display the picture

Photo = http://10.0.0.50/djones.jpeg

set the Web Page field in AD to http://10.0.0.50/djones.jpeg

Confirmed the client PC can access the above URL

in CUP Admin--Application--Cisco Unified personal Communicator--settings

set UPC User Field==Photo to LDAP User Field URL (also tried wWWHomePage)

Save and reboot

Sorry, forgot that you were using AD.  If you're using AD you should use http://web-server/photo/std/%%sAMAccountName%%.jpg per http://docwiki.cisco.com/wiki/Cisco_Unified_Presence%2C_Release_7.x_--_How_to_Integrate_the_LDAP_Directory_with_Cisco_Unified_Personal_Communicator#Fetch_Contact_Pictures_from_a_Web_Server

For testing purpose, you may put a hard-coded URL in the field, such as http://10.0.0.50/djones.jpeg.  Without the wildcard, every CUPC user will display djones' photo.  But at least it'll work.

Michael

nope still not showing up. I but the url http://10.0.0.50/djones.jpeg in the photo field to test and still not coming up

I can access the picture from a web page on the client PC

Could you do a packet capture from the CUPC computer and upload here?

So we can see what URL it requested for.

Thanks!

Michael

This may be a stupid question, so forgive me.  But, since the URL request comes from the PC that is running CUPC,

have you check to see if the PC can access the URL from a standard browser?  That way you can take network/pc-based filters/firewalls out of the equation.

Regards,
Bill

HTH -Bill (b) http://ucguerrilla.com (t) @ucguerrilla

Please remember to rate helpful responses and identify

HI Mike

I ran wireshark from the client PC.

I cannot even see the URL being requested. ( when i create an error report I can see the url has been mapped to the CUP attribute)

see what you think

Thanks for your help

If there's no request for URL in packet capture, it must be a configuration issue.

Could you post some screenshot of configuration?  Also upload CUPC problem report here.

Thanks!

Michael

How does CUPC 8.0 know to use the LDAP to load the photo rather than the URL.

Or does CUPC 8.0 only load photos from the URL

Graham

You can use the photo field in Active Directory to display the photos in CUPC.

Here are the steps you can follow:

1. Store the photos on a web server as JPEG files. Make sure the file names have appropriate extensions, like .jpeg or .jpg.
2. Copy the web server address and filename for each photo. It should be in the format: http://<web_server>/<filename>.jpeg
3. Open Active Directory Users and Computers.
4. Find the user for whom you want to display a photo and open their properties.
5. Go to the "Attribute Editor" tab.
6. Scroll down and select the "thumbnailPhoto" attribute.
7. Click "Edit".
8. In the "String Attribute Editor" window, paste the full web server address of the photo (e.g., http://<web_server>/<filename>.jpeg).
9. Click "OK" to save changes.

Once you've completed these steps, CUPC should be able to retrieve and display the photos from Active Directory.

Keep in mind that users may need to log out and log back in to see their updated photo displayed in CUPC.

Please note that this solution assumes that your environment is set up properly with access permissions to both the web server and Active Directory.

Let me know if you need further assistance!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: