Reload Avatar Scheduled Task?

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Slowmin
    replied
    It's this in css_additional.css

    /* start custom avatar size */

    .l-col__flex-3, .l-row__fixed--left > .l-col__flex-3 {
    margin-left: 240px!important;
    }
    .b-userinfo__details {
    width: 240px;
    margin-left: -20px;
    }
    .l-desktop .b-userinfo {
    width: 210px;
    }
    .b-avatar--m {
    height: 150px!important;
    width: 150px!important;
    }

    .b-avatar--m > img {
    max-height: 150px!important;
    max-width: 150px !important;
    height: 150px!important;
    width: 150px!important;
    }
    media only screen and (max-width: 783px) {
    .l-col__flex-3, .l-row__fixed--left > .l-col__flex-3 {
    margin-left:0px!important;
    float:none!important;
    }
    .b-userinfo__details {
    margin-left: 0;
    display:none;
    }

    .b-avatar--m {
    height: 150px!important;
    width: 150px!important;
    }

    .b-avatar--m > img {
    max-height: 150px!important;
    max-width: 150px !important;
    height: 150px!important;
    width: 150px!important;
    }}

    Leave a comment:


  • Wayne Luke
    replied
    There really is no reason to rebuild these with a scheduled task. The "postbit" uses the full size avatar and resizes it via CSS. If your avatars look malformed, then you should check your custom CSS and make sure that the avatar is squared properly.

    Leave a comment:


  • Slowmin
    started a topic Reload Avatar Scheduled Task?

    Reload Avatar Scheduled Task?

    Hi,

    I am trying to make a scheduled task that rebuilds the avatar thumbnails, due to a workaround to make avatars larger in the postbit, however this ends up making fresh avatars look badly compressed.

    I don't really understand how to write a Scheduled Task, and I have no idea where to start. So any help would be appreciated!

Related Topics

Collapse

Working...