Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Avatar resize
Avatar
SPQC
Member
Free Members
sp_UserOfflineSmall Offline
Feb 23, 2012 - 5:37 pm

I modified avatar size to be 75px square from default 50px.  I imported a 75px square avatar and in every post it displays like it should at 75px but the one at the top where it says Logged in as is displayed at 74px thus making it look a bit fuzzy.

 

I see your avatar here don't have this problem, maybe because they were left at 50px, maybe give a try with a 75px x 75px and see if it happens for you also (and why!).

 

I tried with another theme just in case but result was the same.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 23, 2012 - 5:49 pm

lol. now I know what you meant.  this is a duplicate topic of your other avatar size topic... lets keep it over there...

Avatar
SPQC
Member
Free Members
sp_UserOfflineSmall Offline
Feb 23, 2012 - 6:05 pm

Like I wrote in the other post, I modified avatar size to be 75px square from default 50px.  So users will be able to upload 75px x 75px image as avatar.

 

I imported a 75px square avatar for myself and I thought all was fine up to today where I realized that the avatar that is shown at the top next to Logged in as is displayed at 74px (resized) thus making it look a bit fuzzy.

 

On your own forum here where you still use the default avatar that are 50px square, this does not happen.

 

On you test machine, can you try to change avatar size to 75px then upload one and see if the same happen?  I right-click with firefox and see image properties, that's where it says it a 75px image resized to 74px.

 

In posts where the avatar is shown on the left, this is not happening.

Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Feb 23, 2012 - 8:15 pm

I have a 90x90 image, SP is set to max of 80. It resizes to 80 on top and posts. It also looks fine resized, not blurry.

Maybe check with Firebug and see what the resize is showing there? See if it says something like <img width="75" class="spAvatar"

Avatar
SPQC
Member
Free Members
sp_UserOfflineSmall Offline
Feb 23, 2012 - 8:25 pm

Exactly what is there width="75" class="spAvatar"

 

When I get the Profile tabs fixed I will try a different size.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 23, 2012 - 10:04 pm

works fine for me...exactly 75 everywhere...

no chance its gravatar or cached?

Avatar
SPQC
Member
Free Members
sp_UserOfflineSmall Offline
Feb 23, 2012 - 10:17 pm

I tried with 90px and same thing, the top one show as 89px. This is a mystery to me.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 23, 2012 - 10:22 pm

I dont know... works for me for all different sizes... did you miss my questions?

any other plugins that might 'mess' with images?

Avatar
SPQC
Member
Free Members
sp_UserOfflineSmall Offline
Feb 23, 2012 - 10:29 pm

Don't use Gravatar and I disabled a few WP plugins without success.

 

Could spLeft is causing this?  If I remove it, it's no more resized.
Or if I add width: 91px to spImg, it's also ok but if it's 90 it's not, even if the avatar image is really 90px.

Avatar
SPQC
Member
Free Members
sp_UserOfflineSmall Offline
Feb 24, 2012 - 8:15 am

Ok this morning I tried with a different WP theme (I tried with TwentyEleven) and the forum was shrinked in the center and instead of 89px this time it was 88px.  I thought it could depend on total width f wrapper so I went back with my original theme and expended to 1200 the width but it's still at 89px.

 

I'm lost and have no more ideas...  adding a div around with proper width and height did not help.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 649
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 616
Members: 17345
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10117
Posts: 79600