welcome to SharePoint Stack Exchange!!
It is not possible out of the box, just so that you know!
But, your problem was so interesting that I thought of spending couple of hours just to develop a small customization :)
So this is how my solution works:
The default size of images posted on Newsfeed time-line is 300x300px
I developed a custom feature that ...
Yes, but there 2 things you have to make sure
User profile sync is enabled, photo property properly mapped n imported.
You also need a Mysite host location, this is required because profile picture stored in the
User Photos/Profile Pictures
If you don't have the Mysite host then thumbnail will not create.
Seems like you didn't followed proper steps to set up User Profile Service application in your farm.
The possible problem could be that there isn't a site collection set up using the appropriate template in the MySite web application.
Check this Article on MSDN providing solution to your problem,
Figured this one out...what I did was create a Security Trimmed Control using this code:
<Sharepoint:SPSecurityTrimmedControl runat="server" Permissions="ViewPages">
<div id="blank-ribbon" class="custom-blank-ribbon">
the code goes in the masterpage
Then I styled the control ...
We fixed the issue by using below code
var userpicUrl = '/_layouts/15/userphoto.aspx?accountname=' + userProfileProperties.get_accountName() + '&size=M&url=' + userProfileProperties.get_pictureUrl();
$('.profile-image img').attr('src', userpicUrl );
I don't think there is any other way, than creating a script that will remove the picture information from User Profile..
Following code will help:
SPSite site = SPContext.Current.Site;
UserProfileManager userProfileManager = new UserProfileManager(SPServiceContext.GetContext(site));
// accountName is Active Directory account
UserProfile userProfile = ...
There doesn't seem to be anything wrong with your code from the surface with a read through.
So it could be that you need to add your site to the safe zones of your browser. Have you checked this in other browsers?
If this is the case for IE go to Tools > Internet Options > Security > Local Intranet > Sites > Advanced > Then add your site here.
If this ...
Ok. I figured it out. Actually quite simple.
This is what I did:
Disabled the default Department property.
Created a new Department property and mapped to department AD Field.
Also set this Sharepoint property to use a term set.
I then added this markup to the People page to replace the default "Department" ProfilePropertyValue:
The next part is very ...
As I know, if you will go to your profile in SharePoint it will point you to person.aspx page, it can automatically display your profile not others. If you click to any others user names you will be redirected to link like people.aspx?accountname=domain\login. This page will show you profile of other user, but in general it is the same page, just you needn't ...
You'll want to check your masterpage for the following line.
<div id="s4-ribbonrow" class="s4-pr s4-ribbonrowhidetitle">
and remove the s4-ribbonrowhidetitle class...
<div id="s4-ribbonrow" class="s4-pr">
Are the dimmensions different than what they should be or is it just a file size issue?
Here's a brief overview of how the Photo management works in 2010:
you're only supposed to get three sizes, of 144/96/32. So what happens when you run this PowerShell command?