> Forums > Active Social > General Discussion > how to get profile picture by programming
Last Post 19 Sep 2011 12:22 PM by Steven Webster. 1 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
mridul2100
Registered Users
mridul2100
Post Count:2

--
17 Sep 2011 06:01 AM
    I tried many ways to get profile picture by Active.Modules.Social.UserProfile but did not find ways to get profile picture.

    how to get active social profile picture??
    Steven Webster
    Customers
    Steven Webster
    Post Count:1665

    --
    19 Sep 2011 12:22 PM
    There is a handler within Active Social. You can call something like this:

    height="80" width="80" class="profilepic" src="http://www.yoursite.com/desktopmodules/activesocial/profilepic.ashx?portalid=0&uid=USERID&h=80&w=80" alt="" /> 


    Where USERID is the userid of the member you're trying to show and h and w are the height and width of the photo.

    I haven't tried to access it pro grammatically but theoretically it's part of the DNN user profile so it should be accessible through membership
    Steven Webster
    dnnOsphere.com, An Independent Community for DotNetNuke Users
    You are not authorized to post a reply.
    > Forums > Active Social > General Discussion > how to get profile picture by programming
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy