Can I force avatars to be a specific size? Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
3 posters

    Can I force avatars to be a specific size?

    tony_h
    tony_h
    Forumember


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

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

    Post by tony_h 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
    avatar
    Hardcore Gamer
    Forumember


    Male Posts : 524
    Reputation : 4
    Language : English

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

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

    This is something I'd also like to know.
    kirk
    kirk
    Forumaster


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

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

    Post by kirk 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.

    avatar
    Guest
    Guest


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

    Post by Guest 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;
    }
    tony_h
    tony_h
    Forumember


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

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

    Post by tony_h 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??
    avatar
    Guest
    Guest


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

    Post by Guest 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