10635 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Sales & Support Lead
—
11th October 2010 (1 year ago)
#
Hiya,
I'm afraid I can't help too much if I can't see it. If you're referring to the one in the login slider, then I'm not sure what the issue is as I'm not able to duplicate it. Is it pulling the image from gravatar or a local WordPress copy?
10635 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Sales & Support Lead
—
11th October 2010 (1 year ago)
#
Hiya,
Thanks for the screenshot, I was actually referring to the ability to see the actual code. ;D
Is it pulling the image from gravatar or a local WordPress copy? Can you copy and paste the link to the actual image that is being used? I'll ask Tammie to drop by as well, I've seen this happen before, but I'm not able to recreate the issue here.
A bit more info and I think we can get it sorted though. Thanks!
Yeh, in my experience this is usually because it's got some incorrect width/height elements in the code (like 100 x 100 and the image is in fact 120 x 120) - but Tammie / Richard would definitely be better at picking this up than me!
@all: It works when using gravatars or images that are used for default theme but you can easily just change this by going into the file and set to whatever you want:
*warning it is GLOBAL as in all or nothing if you do this for this place.
Change that if you wish save and even do in child theme - your choice. 100 x 100 won't matter if 120 x 120 as scales down proportionately - your issue would be if you had 80 x 100 in code and it was 120 x 120. However should you want it to all be the 120 x 120 size just change there BUT be warned you may have to change styling.
Note the BuddyPress avatar function is being used so it makes sure it is scaling and just like the default theme.
I changed the type to full in the file Tammie mentioned and it no longer pixelates the image when it enlarges the thumbnail from 50x50 to 100x100, but rather reduces the size of the full image.
Thanks to everyone for pointing me in the right direction. :)
Responses (9)
Sales & Support Lead — 11th October 2010 (1 year ago) #
Hiya!
I'm not seeing the avatar on the posted link. Do you have to be logged in to see it perhaps?
Avatar should be pulled in same as others in BuddyPress. What size is the original image?
Thanks!
Member — 11th October 2010 (1 year ago) #
@masonjames
Yes you have to be logged in. I think the original is 150x150 - it is the standard buddypress size.
The panel is also at the theme spec which is 100x100.
Sales & Support Lead — 11th October 2010 (1 year ago) #
Hiya,
I'm afraid I can't help too much if I can't see it. If you're referring to the one in the login slider, then I'm not sure what the issue is as I'm not able to duplicate it. Is it pulling the image from gravatar or a local WordPress copy?
Thanks!
Member — 11th October 2010 (1 year ago) #
@masonjames
yes, sorry went and did a screenshot:
I zoomed in so that you can see the avatar clearly.
Sales & Support Lead — 11th October 2010 (1 year ago) #
Hiya,
Thanks for the screenshot, I was actually referring to the ability to see the actual code. ;D
Is it pulling the image from gravatar or a local WordPress copy? Can you copy and paste the link to the actual image that is being used? I'll ask Tammie to drop by as well, I've seen this happen before, but I'm not able to recreate the issue here.
A bit more info and I think we can get it sorted though. Thanks!
Founder & CEO — 12th October 2010 (1 year ago) #
Yeh, in my experience this is usually because it's got some incorrect width/height elements in the code (like 100 x 100 and the image is in fact 120 x 120) - but Tammie / Richard would definitely be better at picking this up than me!
Theme Designer — 12th October 2010 (1 year ago) #
@all: It works when using gravatars or images that are used for default theme but you can easily just change this by going into the file and set to whatever you want:
*warning it is GLOBAL as in all or nothing if you do this for this place.
library/components/buddypress/buddypress-panel.php:
another method is:
Change that if you wish save and even do in child theme - your choice. 100 x 100 won't matter if 120 x 120 as scales down proportionately - your issue would be if you had 80 x 100 in code and it was 120 x 120. However should you want it to all be the 120 x 120 size just change there BUT be warned you may have to change styling.
Note the BuddyPress avatar function is being used so it makes sure it is scaling and just like the default theme.
Member — 12th October 2010 (1 year ago) #
@masonjames
I have solved the problem. I will explain how based on all the information provided here:
Here is the image link when you inspect the avatar in the panel:
<img src="http://ukmarketingnetwork.com/files/avatars/3/4a7472c088bf33be31ac4fa9b7200bc6-bpthumb.jpg" alt="Avatar Image" class="avatar user-3-avatar" width="100" height="100">
When I link to that I note that the image is 50x50 which is the BuddyPress thumbnail size.
On my profile this is the link:
<img src="http://ukmarketingnetwork.com/files/avatars/3/4a7472c088bf33be31ac4fa9b7200bc6-bpfull.jpg" alt="Avatar Image" class="avatar user-3-avatar" width="150" height="150">
which is the full size.
I changed the type to full in the file Tammie mentioned and it no longer pixelates the image when it enlarges the thumbnail from 50x50 to 100x100, but rather reduces the size of the full image.
Thanks to everyone for pointing me in the right direction. :)
Theme Designer — 12th October 2010 (1 year ago) #
Great lets close this thread up then if it's resolved. Glad it's working.
Thanks for viewing this post but this topic has been closed to new replies.
Become a member