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

Suki Winthrop replied to Fabricio Giugni's discussion Ning 2.0 or Ning 3.0 ?
"Seems familiar.
Nothing much happenig in months,
little communication, still soo  outdated and lack…"
8 hours ago
Tom Whelan replied to David Carr's discussion Being a Ning Network could ruin the deal
"I agree George,
When it comes to actual livelihood and business professionalism, I need stability a…"
8 hours ago
Phil replied to Anna Ning Support's discussion Announcing Events for Ning 3.0
"I like to disable RSVPs because members rarely bother to RSVP. It gives a bad impression when you s…"
9 hours ago
Arman and Tom Whelan joined Ning Creators Network
11 hours ago
⚡JFarrow⌁ replied to Fabricio Giugni's discussion Ning 2.0 or Ning 3.0 ?
"Everything is starting to pick back up as best I can tell.  You are correct in thinking that you sh…"
yesterday
⚡JFarrow⌁ replied to David Carr's discussion Being a Ning Network could ruin the deal
"We can work this in several ways. Give me a call back to discuss..."
yesterday
Fabricio Giugni replied to Fabricio Giugni's discussion Ning 2.0 or Ning 3.0 ?
"How can we trust Ning now? Seems to be everything bad. "
yesterday
Beverly is now a member of Ning Creators Network
yesterday
Kyryl_Ning_Support replied to Fabricio Giugni's discussion Can we see and show member statics?
"Hi there,
Unfortunately, the leaderboards are not available on 3.0 platform.
However, we have fille…"
yesterday
Kyryl_Ning_Support replied to Yana Ning Support's discussion CAPTCHA - NO BOTS AND SPAMMY CONTENT
"Hi Dan,
As we can see you have resolved your issue the same day with our CS representative.
Best re…"
yesterday
Fire-Tech replied to Fire-Tech's discussion 3.0 Tip: Insert Image Into Signin Page
"Yeah, I'm still here in the shadows. Been working on other projects until Ning gets their act toget…"
yesterday
⚡JFarrow⌁ replied to Fire-Tech's discussion 3.0 Tip: Insert Image Into Signin Page
"time to reboot, homey!"
Tuesday
George Swann replied to Fabricio Giugni's discussion Ning 2.0 or Ning 3.0 ?
"All newly created Ning networks are 3.0 by default. You cannot create a new 2.0.
You can however bu…"
Monday
George Swann replied to David Carr's discussion Being a Ning Network could ruin the deal
"My question is this, can my network be moved off the Ning platform to another, one that would not b…"
Monday
Kyryl_Ning_Support replied to Fabricio Giugni's discussion What a special Member can DO?
"Hi Fabricio,
Unfortunately, the options that you have mentioned are not available on our platform.…"
Monday
Deb Della Piana is now a member of Ning Creators Network
Monday
Bizz ( John ) replied to Bizz ( John )'s discussion Re-size Avatars In Messages Table And Messages Detail
"You can adjust the sizes for the ningbar text and icons with just a little css. Just don't go to bi…"
Monday
Bizz ( John ) replied to Bizz ( John )'s discussion Adding Your Friends, Email notifications and SignOut,Sign in To Your Profile Page ( updated so these and the options, social links all inline to the left )
"That's great news your site is backup, any ideas what happened ?"
Sunday
More…