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

Bizz ( John ) replied to Bizz ( John )'s discussion Video Issues Again For Embed Videos Showing Blank Box
"Well I do believe this has been fixed now. Just added a video via an embed from youtube and the ima…"
10 hours ago
Bizz ( John ) replied to Bizz ( John )'s discussion Videos Playing In Activity Feed, check it out on my site ( Updated: 25-04-17 )
"Thanks, will share it once I get a few little options finished like adding it's own comment contain…"
11 hours ago
⚡JFarrow⌁ replied to Bizz ( John )'s discussion Videos Playing In Activity Feed, check it out on my site ( Updated: 25-04-17 )
"Wow that is killer Jon!  How did you do that?"
11 hours ago
Bizz ( John ) replied to Erika Hoff Holmgren's discussion How do I edit my opening posts on the forum? Sticky options?
"To edit a post you first open it then in the top right before the +icon you will see a pencil icon,…"
13 hours ago
Ning via Facebook

#NINGread Blogging is an extremely inspiring activity, especially when you can make a buck with…

Kos replied to Thisisbully's discussion Chat is available on 3.0
"Well thank goodness for updating the servers b/c it worked perfectly all day.  I'm sooo happy!  Tha…"
18 hours ago
Kyryl_Ning_Support replied to Thisisbully's discussion Chat is available on 3.0
"Hi there,
Only the server part has been updated by the admins so the performance could have increas…"
23 hours ago
Solveig Parekh Bock is now a member of Ning Creators Network
23 hours ago
Steve C replied to Anastasiia_NING support's discussion Ning 2Q 2017 plan!
"Thank you! That's how it was from 2009 to recently, but the system must have reset it and I forgot…"
yesterday
Bizz ( John ) replied to Bizz ( John )'s discussion Video Issues Again For Embed Videos Showing Blank Box
"When is this going to be fixed? Been a while now as it's not just the image not displaying ( by the…"
yesterday
Kos replied to Thisisbully's discussion Chat is available on 3.0
"Kryrl I could be speaking too soon (hope not!) but it appears someone did something b/c Chat is now…"
yesterday
Kyryl_Ning_Support replied to Anastasiia_NING support's discussion Ning 2Q 2017 plan!
"Hi Steve,
We are sorry to hear that you are experiencing such an issue but you can control the orde…"
yesterday
Kyryl_Ning_Support replied to Ian's discussion Side Backgound Image keeps shrinking and orienting left & animated gif header isn't working
"Hi there,
We are sorry for the inconveniences, and yes you are right this issue isn't connected wit…"
yesterday
Oleksii is now a member of Ning Creators Network
yesterday
Steve C replied to Anastasiia_NING support's discussion Ning 2Q 2017 plan!
"I'm having a HUGE problem with blog comments on my Ning 2 site. It used to be that blog comments po…"
Monday
Ning via Facebook

#inspirewithNING #success Explore new horizons with NING and NING Creators Network! Find your…

Bizz ( John ) replied to Bizz ( John )'s discussion Videos Playing In Activity Feed, check it out on my site ( Updated: 25-04-17 )
"Would be interested to hear if anyone has tried this and encountered any problems. Works fine for m…"
Friday
Bizz ( John ) replied to Annabel Gregory's discussion Events on Ning3
"Glad to help for a temporary fix until Ning adds this option. By the way if you want to see it work…"
Friday
Annabel Gregory replied to Annabel Gregory's discussion Events on Ning3
"Thanks, John - I will try your tip. I do hope Ning will make this unnecessary soon, though!"
Friday
Annabel Gregory replied to Annabel Gregory's discussion Events on Ning3
"Thank you, Kyryl, I look forward to hearing from you."
Friday
More…