1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Avatar for threads you start has black border on right hand side

Discussion in 'Resolved Bug Reports' started by Brogan, Aug 10, 2010.

  1. Brogan

    Brogan XenForo Moderator Staff Member

    For threads you start the mini avatar is no longer overlayed.

    However, the main avatar now has a black border on the right hand side of the image.

    avatar.PNG

    A related issue is the pop up for the number of posts you have made in your own thread doesn't appear obviously as there is no mini avatar.
     
  2. Disjunto

    Disjunto Well-Known Member

    nope, that's just your avatar having a black line in it :)
     
  3. Brandon_R

    Brandon_R Guest

    Im pretty sure that's your avatar data/avatars/m/521.jpg?1280879700
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    It's not.
    It has only just started since the avatar overlay was implemented.

    This is my full avatar.

    profile.PNG
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    OK, I've found the problem.

    For some reason it is possible to move the avatar right over to the left, past the edge of the avatar.
    So that then puts a black edge down the right hand side.

    editor.PNG

    If you look on the right hand side of the mini image you can see the dark grey border is slightly wider.

    What's odd though is this has only just started, I haven't touched my avatar for a week.
     
  6. Disjunto

    Disjunto Well-Known Member

    Weird
     
  7. Mike

    Mike XenForo Developer Staff Member

    In debugging a similar issue, I think this may be a rounding error. For example, with my test image, Chrome gave me a maximum crop value of 42px, but FF let me do 43px.
     
  8. Mike

    Mike XenForo Developer Staff Member

    Fixed now. It is indeed a difference in rounding behaviors between browsers and PHP.
     
    Brogan likes this.

Share This Page