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 Poppili's discussion Urgently looking for a designer to improve my Ning website design
"Thanks Poppili, for now I create tips and post here to help others with their sites and can help on…"
3 hours ago
Bizz ( John ) replied to Yana Ning Support's discussion Video Feature on Ning 3.0 is now available!
"Hi Anam
I know exactly what you mean for the videos. By default the add content modules for the vid…"
5 hours ago
Bizz ( John ) replied to CZG's discussion My Page Comment Box Posting Issue
"This might be because you are just adding a general comment wall, for the members pages you should…"
6 hours ago
Anam replied to Yana Ning Support's discussion Video Feature on Ning 3.0 is now available!
"Back again :). I had abandoned the idea of using the Video feature but i'm trying it out again. Whe…"
10 hours ago
Kos replied to Anastasiia_NING support's discussion Ning 2Q 2017 plan!
"Douwe themes are no more than layout.  Navigation above, below the header or along side.  The desig…"
13 hours ago
Douwe Dronkert replied to Anastasiia_NING support's discussion Ning 2Q 2017 plan!
"Hi Kyryl,
Just to add to this. Great when you offer more themes! Just to make sure: if new themes b…"
16 hours ago
Poppili replied to Poppili's discussion Urgently looking for a designer to improve my Ning website design
"your website looks great..
I guess I'll have a deeper look at the design studio
do you do design fo…"
22 hours ago
Bizz ( John ) replied to Bizz ( John )'s discussion Videos Playing In Activity Feed, check it out on my site, Now shows photos to ( Updated: 27-04-17 )
"Well this is all working really nice now especially the photos, give it  a try. Click on a photo in…"
yesterday
Bizz ( John ) replied to Poppili's discussion Urgently looking for a designer to improve my Ning website design
"Just thought I would say that the new Ning Team are going to be updating the themes as mentioned in…"
yesterday
George Swann replied to Poppili's discussion Urgently looking for a designer to improve my Ning website design
"Looks relatively straightforward to me.  I have a couple of friends with current Wix sites that do…"
yesterday
Naveen Jain replied to Dan Lee's discussion I Will Design Your Ning Network To Make it Look More Professional
"Do you have example of ning site that you have designed?"
yesterday
Kos replied to Poppili's discussion Urgently looking for a designer to improve my Ning website design
"Good luck w/that.  Been there; done that.  Never again"
yesterday
Ning via Facebook

#createwithNING #plan Need publicity, fans and high life? Follow your dreams with really great…

George Swann replied to Poppili's discussion Urgently looking for a designer to improve my Ning website design
"Poppili, you're right about our sites needing to have a fresh modern look.  Need things to both loo…"
yesterday
George Swann replied to Dan Lee's discussion I Will Design Your Ning Network To Make it Look More Professional
"Deeday won't even let you see the source code...definitely not ning...lol
Bearcreek looks like a wi…"
yesterday
Kos replied to Poppili's discussion Urgently looking for a designer to improve my Ning website design
"Poppili You might want to post this over at the Hire a Creator group. "
yesterday
Dan Lee replied to Dan Lee's discussion I Will Design Your Ning Network To Make it Look More Professional
"No it not."
Friday
Dan Lee replied to Bizz ( John )'s discussion Adjusting Your Videos List Page Metadata Section Colours
"THIS CODE DIDN'T CHANGE THE COLOR FOR MY SITE"
Friday
More…