The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Avatar Size Too Big

View previous topic View next topic Go down

Solved Avatar Size Too Big

Post by dubkay on April 29th 2015, 7:43 pm

Hi there,

A few of the members on my forum have a custom avatar uploaded from their computer or linked from a URL. These avatars are appearing at their original size, overriding the default avatar size that I have set in the ACP. Included is a screenshot of the problem.

I assume there is probably some coding that will fix this. Ideally, I would like to have avatars no larger than 200 x 200 pixels.


dubkay
New Member

Posts : 15
Reputation : 1
Language : EN

Back to top Go down

Solved Re: Avatar Size Too Big

Post by YoshiGM on April 29th 2015, 7:50 pm

Hello,

You cand add this CSS to adjust the size of the avatars (phpbb2):

Code:
.postdetails.poster-profile a img {
max-width: 200px;
max-height: 200px;
}

Paste it in:
ACP > Display > Colors > CSS Stylesheet.
and fdon't forget to hit save. Hello

YoshiGM
Forumember

Male Posts : 512
Reputation : 76
Language : Spanish & English
Location : Mexico

http://asistencia.foroactivo.com/u21373

Back to top Go down

Solved Re: Avatar Size Too Big

Post by dubkay on April 29th 2015, 7:59 pm

Not sure if it matters, I am running Phpbb3, I just forgot to update it on my profile thing.

I tried the code but it did not work. The user's image is still insanely huge.

dubkay
New Member

Posts : 15
Reputation : 1
Language : EN

Back to top Go down

Solved Re: Avatar Size Too Big

Post by YoshiGM on April 29th 2015, 8:01 pm

Ok, no problem, just change that code to this:

Code:
.postprofile dt img {
max-width: 200px;
max-height: 200px;
}

thumright

YoshiGM
Forumember

Male Posts : 512
Reputation : 76
Language : Spanish & English
Location : Mexico

http://asistencia.foroactivo.com/u21373

Back to top Go down

Solved Re: Avatar Size Too Big

Post by dubkay on April 29th 2015, 8:51 pm

That seems to have done it, thanks.

dubkay
New Member

Posts : 15
Reputation : 1
Language : EN

Back to top Go down

Solved Re: Avatar Size Too Big

Post by Ange Tuteur on April 29th 2015, 11:03 pm

Thanks for the help, Yoshi. Smile

Topic archived

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum