The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Can I force avatars to be a specific size?

3 posters

Go down

Can I force avatars to be a specific size? Empty Can I force avatars to be a specific size?

Post by tony_h 17/1/2012, 10:17

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
tony_h
Forumember

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

http://www.honda-haven.com

Back to top Go down

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

Post by Hardcore Gamer 17/1/2012, 10:32

This is something I'd also like to know.
avatar
Hardcore Gamer
Forumember

Male Posts : 524
Reputation : 4
Language : English

Back to top Go down

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

Post by kirk 17/1/2012, 11:46

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
kirk
Forumaster

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

Back to top Go down

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

Post by Guest 17/1/2012, 14:46

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;
}
avatar
Guest
Guest


Back to top Go down

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

Post by tony_h 17/1/2012, 17:05

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
tony_h
Forumember

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

http://www.honda-haven.com

Back to top Go down

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

Post by Guest 17/1/2012, 17:14

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
avatar
Guest
Guest


Back to top Go down

Back to top

- Similar topics

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