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 Social Network to add comments!

Join Ning Creators Social 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

Brendon R Culliton replied to Yana Ning Support's discussion Product Plan Update
"Is anyone elses member chat not working at all right now? It just says "connecting..""
39 minutes ago
Brandyn Shepherd replied to Kyryl_Ning_Support's discussion Network not launched yet issue
"Did a hard refresh/cleared all my cache and it's still not loading the chat."
2 hours ago
Bizz replied to Naveen Jain's discussion How can I disable Ning Search in 3.0
"This should do the trick for you, add this to your design studio custom css section.
#xn_bar_menu_s…"
3 hours ago
Alex replied to Kyryl_Ning_Support's discussion Network not launched yet issue
"We are not seeing this problem on our site."
3 hours ago
Martin Buzz replied to Kyryl_Ning_Support's discussion The long-awaited Search Option is now at your fingertips!
"Great Update!
Is there any options on the search field to appear in different places?"
3 hours ago
Kos replied to Kyryl_Ning_Support's discussion Network not launched yet issue
"As I've posted before, it seemed random.  Not everybody was down.  I was fine on 2.0 and 3.0 and th…"
5 hours ago
Sandstorm20141 and Bizz joined Ning Creators Social Network
5 hours ago
Thisisbully replied to Kyryl_Ning_Support's discussion Network not launched yet issue
"Not true I've been on my site all day"
5 hours ago
Kos replied to Kyryl_Ning_Support's discussion Network not launched yet issue
"Pingdom said I came back up at 4:30.  Did a hard refresh and my Chat is posting as well.   Try a ha…"
5 hours ago
Brandyn Shepherd replied to Kyryl_Ning_Support's discussion Network not launched yet issue
"Network is back up... but, chat is no longer working."
6 hours ago
Kos replied to Kyryl_Ning_Support's discussion Network not launched yet issue
"Did a hard refresh = nothing here. Still waiting.  Glad they got you back up!"
6 hours ago
Brandyn Shepherd replied to Kyryl_Ning_Support's discussion Network not launched yet issue
"Any way you can tell us what is being worked on or updated? Like... what kind of changes should we…"
6 hours ago
Diego Boada replied to Kyryl_Ning_Support's discussion Network not launched yet issue
"I'm happy to report that my Ning network is functional now. We have scheduled training sessions wit…"
7 hours ago
Kos replied to Kyryl_Ning_Support's discussion Network not launched yet issue
"Pingdom says we've been down since 9:45 this morning.  It's now 3:22 pm.  *sigh*  Come on Ning!  Th…"
7 hours ago
Kos replied to Kyryl_Ning_Support's discussion Network not launched yet issue
"Now' I've been kicked out too.  We are waiting........*tapping fingers*"
8 hours ago
Christopher Lyon replied to Kyryl_Ning_Support's discussion Network not launched yet issue
"Thanks for communicating about this, at least. That's huge. Still frustrating, but hearing somethin…"
8 hours ago
Diego Boada replied to Kyryl_Ning_Support's discussion Network not launched yet issue
"I'm still waiting for my network to be up and running. We were in the middle of a training for our…"
8 hours ago
Tahíta replied to Kyryl_Ning_Support's discussion Network not launched yet issue
"No funciona mi red  http://rioabierto.ning.com/ HELP ME!!!
"Network not launched yet"."
9 hours ago
Shamshir Rai Luthra replied to Kyryl_Ning_Support's discussion Our Efforts - Your Feedback
"Hehe! Brandyn - I Got the joke! This is blackmail! Hehe - but yes, 'Your Network Is Down' signs are…"
9 hours ago
George H. Compton IV replied to Kyryl_Ning_Support's discussion Network not launched yet issue
"Thank you Kyryl!!! :)"
9 hours ago
More…