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.

Can I force avatars to be a specific size?

View previous topic View next topic Go down

Can I force avatars to be a specific size?

Post by tony_h on January 17th 2012, 10:17 am

As above, I don't want a max size or a min size code please, I want to k ow if I am able to force an avatar to be a certain size


Thanks

tony_h
Forumember

Male Posts : 245
Reputation : 6
Language : English
Location : Ireland

http://www.honda-haven.com

Back to top Go down

Re: Can I force avatars to be a specific size?

Post by Hardcore Gamer on January 17th 2012, 10:32 am

This is something I'd also like to know.

Hardcore Gamer
Forumember

Male Posts : 409
Reputation : 3
Language : English

Back to top Go down

Re: Can I force avatars to be a specific size?

Post by kirk on January 17th 2012, 11:46 am

Not unless their is css code for it

Like you can set Maximum Avatar File Size (say for instance) 250 x 300.
And no one would be able to exceed this dimension.

But if someone wanted to have one that is 200 x 250 or smaller then yes they would be able to have it under anything the maximum limit is set to.


kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Re: Can I force avatars to be a specific size?

Post by Guest on January 17th 2012, 2:46 pm

A very good tips was written by kirk - How it works... Now I'll give the code:
Code:
.postprofile img{
max-width: 250px !important;
max-height: 300px !important;
}

Guest
Guest


Back to top Go down

Re: Can I force avatars to be a specific size?

Post by tony_h on January 17th 2012, 5:05 pm

Gassy wrote:A very good tips was written by kirk - How it works... Now I'll give the code:
Code:
.postprofile img{
max-width: 250px !important;
max-height: 300px !important;
}

I'll try this code later. What if is set a minimum and a maximum, would that work??

tony_h
Forumember

Male Posts : 245
Reputation : 6
Language : English
Location : Ireland

http://www.honda-haven.com

Back to top Go down

Re: Can I force avatars to be a specific size?

Post by Guest on January 17th 2012, 5:14 pm

max-width proprety => if the width of the avatar will be more than 250px this code will reduce automatically to 250px. The same with the max-height proprety. Smile

Guest
Guest


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