Current status of the Ning Platform is always available on the Ning Status Blog.

Forum

Jacob asked how to do this and I had some code from a while back so here is the code to share.

What this does is remove the crop from the main avatar in the members profile page so you can set your own size for it. I have adjusted mine to 180px and you can see the difference by visiting my profile page here:

http://bizzssite.ning.com/members/JOHNBIZLEY

We need to add two bits of code.

Before we go any further I would like to mention the code to remove the crop was some code Sweet Potato had used in a previous tip which I edited for the profile page tip here. Thanks SP for the original code posted some time back.

The first code goes in your site and pages custom code end of page box.

<script>
//Remove Crop Of Profile Avatar
x$(document).ready(function() {
x$('.profileCoverArea-avatar img').each(function() {
    var profileImageSize = x$(this).attr('src');
    x$(this).attr('src', profileImageSize.replace(/\?width=\d+\&height=\d+\&crop=\d+\%\d+\A\d+/, ''));
});
});
</script>

And this next bit of code goes in your design studio custom css.

You adjust the width:180px to the size you want.

/* Profile Page User Avatar Size Adjustment */
.profileCoverArea .media-frame > .media-img{ max-width:100%!important }
/* This sets the size of the image */
.profileCoverArea-avatar .avatar-90{ width:180px }

That's it all done.

John :-)

You need to be a member of Ning Creators Network to add comments!

Join Ning Creators Network

Email me when people reply –

Replies

  • Nice Job!  i Like the idea and it looks  Great from mobile devices. i wonder if this can be possible  with the avatars that appears on the members inbox panel( the avatars look  very small)

This reply was deleted.

Search the Creators Network

Latest Activity

Shadow replied to Anna Ning Support's discussion 500 error on some Ning Networks
"Thank you for the update much appreciated.."
9 minutes ago
Kyryl_Ning_Support replied to Anna Ning Support's discussion 500 error on some Ning Networks
"Hi there,
At this moment the tech team is working on this issue. It should be fixed approximately i…"
11 minutes ago
Anam replied to Yana Ning Support's discussion Video Feature on Ning 3.0 is now available!
"I tried it out.

I am concerned for storage amounts...I think it would be different than what we ca…"
27 minutes ago
Shadow replied to Anna Ning Support's discussion 500 error on some Ning Networks
"Hey btw uh am I missing something or is there a different creators now? activity post on homepage d…"
38 minutes ago
TJ @ jQueryHelp replied to Yana Ning Support's discussion Video Feature on Ning 3.0 is now available!
"Very nice addition to Ning 3 sites, thanks!"
3 hours ago
Thisisbully replied to Bizz ( John )'s discussion Now We Have The Responsive Video We Can Know Adjust The Columns.
"perfect"
3 hours ago
Ian replied to Ian's discussion Side Backgound Image keeps shrinking and orienting left & animated gif header isn't working
"The image we've had in the 'side image' has been working fine, filling up the whole screen for year…"
5 hours ago
Shadow replied to Anna Ning Support's discussion 500 error on some Ning Networks
"Thank you Kos I did use this page earlier.  still waiting but all good Thank you :)"
5 hours ago
Kos replied to Anna Ning Support's discussion 500 error on some Ning Networks
"Shadow try to file a ticket online here http://hc.ning.com/contact/networkdown/index.php
Hope they…"
5 hours ago
Shadow replied to Anna Ning Support's discussion 500 error on some Ning Networks
"found an old post to reply on.. as NING status is not recent it seems.. nor current issues.. as my…"
6 hours ago
Bizz ( John ) replied to Bizz ( John )'s discussion Make Your Videos In The New Video Feature Responsive
"Your most welcome Kos :-)"
6 hours ago
Aurora replied to George H. Compton IV's discussion ( TIP N3 ) Allow your members to add CSS codes to the new profile text box.
"Actually the text boxes are a mess, I'm facing the same problem on my network, I hope they fix this…"
7 hours ago
Kos replied to Bizz ( John )'s discussion My Layout Adjustments For The New Video Feature - viewing the video
"Ning just hire him already.  LOL  Great work John - thank you!"
7 hours ago
Kos replied to Bizz ( John )'s discussion Make Your Videos In The New Video Feature Responsive
"Nice John.  Thank you!"
7 hours ago
Philip Voice replied to Yana Ning Support's discussion Video Feature on Ning 3.0 is now available!
"Hi John
Thanks for your response.
It looks as though all my settings are right."
14 hours ago
Kos replied to CZG's discussion Logging into ning site using Firefox not secure message
"If Ning obtains SSL, it will be for their domain name - not all of ours (who can afford that?) 
No,…"
14 hours ago
Suki Winthrop replied to Jeff Gilder's discussion Saying Goodbye To Ning After 9 Years
"Hi Jeff, couple months have gone by now.
I think there is already a lot of feedback here about what…"
14 hours ago
CZG replied to CZG's discussion Logging into ning site using Firefox not secure message
"Thank you Kos. I think where I am confused about this is that when Ning obtains an SSL Certificate,…"
15 hours ago
Kos replied to CZG's discussion Logging into ning site using Firefox not secure message
"SSL has to do with secure checkout on purchases and has nothing to do with a video being embedded.…"
15 hours ago
Bizz ( John ) replied to Yana Ning Support's discussion Video Feature on Ning 3.0 is now available!
"Hi Phillip, I am seeing them in mine ok. How have you got the page setup ? Is it set to view by adm…"
15 hours ago
More…