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.
 

Some interesting articles related to community management, digital marketing etc. could be found in our digest. Don't hesitate to leave a feedback so we would know that we should continue :-)

Latest Activity

Kyryl_Ning_Support replied to Annabel Gregory's discussion
Failure to create links or embed images
"Hi Annabel,
Yep, sorry it seems that the new text editor button to embed the photo etc. provoking t…"
11 minutes ago
Elizaveta, Laura Beatriz Alves Dornel, Denise Lopes and 5 more joined Ning Creators Social Network
2 hours ago
Ning via Facebook

Especially for you - 25 books about business for frosty but cozy winter evenings. Just…

Tom Whelan replied to Fabricio Giugni's discussion
Please limit the Photo upload per day
"Wow, if members are allowed to upload like 100 photos per day (whether they get any 'point's for th…"
16 hours ago
Ning via Facebook

Everyone of us at least once in our lives has broken promise to start sporting. But you can…

Thiago Santos de Moraes replied to Thiago Santos de Moraes's discussion
All themes on the NING page
"Ok, but I´m just asking for all themes of Ning 3.0, not the 2.0 themes."
20 hours ago
Annabel Gregory replied to Annabel Gregory's discussion
Failure to create links or embed images
"I am using Firefox, and when I create a post and click on any of the icons to create a link, add an…"
21 hours ago
Annabel Gregory replied to Annabel Gregory's discussion
Problem with search feature
"Many thanks.
 "
21 hours ago
Kyryl_Ning_Support replied to Annabel Gregory's discussion
Problem with search feature
"Hi Annabel, 
I have tested your network and yes it seems that the latest forum post doesn't appear…"
22 hours ago
Kyryl_Ning_Support replied to Paul Corona's discussion
NING 2 and Chrome
"Hellol,
Yes, Paul, that is a message from your browser, I guess somewhere on that page you have the…"
22 hours ago
Kyryl_Ning_Support replied to Thiago Santos de Moraes's discussion
All themes on the NING page
"Hi Thiago,
The list of themes is you have mentioned would be updated with the new themes, however a…"
23 hours ago
Kyryl_Ning_Support replied to Annabel Gregory's discussion
Failure to create links or embed images
"Hi there!
Could you please describe what is happening on your side, I mean what do you see, any cha…"
23 hours ago
More…

Meanwhile, you can check our social media channels