0

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!

1
  • Brad, could you please add more detail to your question including an explanation of all the part and pieces that need to work together? Feb 12, 2014 at 2:29

1 Answer 1

1

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)

2
  • Sorry I didnt specify properly. The dynamic link is not in SharePoint. It is in a SQL-Server Database
    – Brad
    Jun 7, 2012 at 20:49
  • Brad, I think you need to explain your requirements better based on that comment. Feb 12, 2014 at 2:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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