Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Using Sharepoint 2007 Have JQuery and SPServices.js available.

I need to be able to gather profile pictures (or just the URL whichever is easier) from a users MySite.

It will be a dynamic list of users and their Windows Login will be in the list. The requirements only allow me to use HTML which limits what kind of code I can use.

I know I can gather the current users profile picture with this javascript implementing JQuery and SPServices.js

    <script type="text/javascript" src="http://.../jquery/jquery.js"></script>
    <script type="text/javascript" src="http://.../jquery/jquery.SPServices.js></script>

    <script type="text/javascript">
      $().SPServices.SPGetCurrentUser({fieldName: "Picture", debug: false});
    </script>

I just wanted to know if anyone knew how to gather the pictures from a list of multiple users.

Sorry im a newbie with SharePoint.

Thanks!

share|improve this question
    
Brad, could you please add more detail to your question including an explanation of all the part and pieces that need to work together? –  Robert Kaucher Feb 12 at 2:29
add comment

1 Answer

Couldn't you just change the person group column you're using in the list to display the user's picture instead of their name? (List Settings -> Click your column -> Toggle drop down box)

share|improve this answer
    
Sorry I didnt specify properly. The dynamic link is not in SharePoint. It is in a SQL-Server Database –  Brad Jun 7 '12 at 20:49
    
Brad, I think you need to explain your requirements better based on that comment. –  Robert Kaucher Feb 12 at 2:27
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.