05-23-2010 02:39 AM - edited 03-15-2019 10:53 PM
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?
05-23-2010 06:29 AM
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.
Please remember to rate helpful responses and identify
05-23-2010 07:38 AM
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
05-24-2010 04:31 AM
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
05-24-2010 05:13 AM
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
05-24-2010 05:37 AM
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
05-24-2010 06:33 AM
Could you do a packet capture from the CUPC computer and upload here?
So we can see what URL it requested for.
Thanks!
Michael
05-24-2010 06:43 AM
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
Please remember to rate helpful responses and identify
05-25-2010 11:58 AM
05-25-2010 05:04 PM
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
10-07-2010 04:13 AM
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
07-09-2023 11:40 AM - edited 07-12-2023 08:18 AM
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!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide