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.

Ginormous avatars? No thank you.

View previous topic View next topic Go down

In progress Ginormous avatars? No thank you.

Post by KemicalCandy on August 16th 2017, 1:01 am

Can anybody tell me how one of my members successfully uploaded an avatar of the size 500x500 pixels when the maximum size in my ACP is set at 160x200 pixels? This was a great thing to open up my forum to.

Since it appears that somehow the ACP's max limit isn't working, does anybody have a CSS code that I can apply to my forum that will keep avatars under 160x200 pixels but still retain proportions?

Thank you.
avatar
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

In progress Re: Ginormous avatars? No thank you.

Post by SLGray on August 16th 2017, 2:00 am

Please post a link to a post that guest can see that contains this avatar.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 40857
Reputation : 2773
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Ginormous avatars? No thank you.

Post by KemicalCandy on August 16th 2017, 2:12 am

It was just a 500x500 image of a purple avatar girl, but I immediately removed it and got it fixed because it was a major issue to the appearance of our forum threads.

I was reading around and saw that uploading an image through the "Link to an off-site Avatar :" option could be the cause? Why would that method of uploading avatars bypass the size limit?
avatar
KemicalCandy
Forumember

Posts : 54
Reputation : 2
Language : English

http://gocallico.forumotion.com

Back to top Go down

In progress Re: Ginormous avatars? No thank you.

Post by brandon_g on August 16th 2017, 12:41 pm

Hello,

I believe it could be because when you use our uploader, it automatically re sizes it to the size you selected, when someone links to an image it doesn't re size it cause it doesn't have the actual file to keep it in proportion. This is just an educated guess, I am not 100% sure this is the case.

-Brandon


Remember to mark your topic when a solution is found.
avatar
brandon_g
Support Moderator
Support Moderator

Male Posts : 6043
Reputation : 553
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

In progress Re: Ginormous avatars? No thank you.

Post by Justice™ on August 16th 2017, 3:22 pm

As brandon said the system fails to resize the avatar for some reason. Anyway, this CSS code should resize any avatar to a given size:
Code:
[alt="avatar"]{
width:200px;
height:300px;
}
You have to modify 200 and 300 to whatever values you want.
If you only want to resize avatars that are bigger than the limit, you can use this code:
Code:
[alt="avatar"]{
max-width:200px;
max-height:300px;
}
Again, 200 and 300 can be modified.

If the codes don't work, post your forum's link here.
avatar
Justice™
Forumember

Posts : 520
Reputation : 120
Language : Romanian and English

http://board.realmsn.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