No announcement yet.

Some avatars are huge in Active Stream

  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Originally posted by BibleWheel View Post
    I'm having the same problem. I have rebuilt both Custom Avatar Thumbnails and Avatar Thumbnails and cleared my browser cache. The problem is not with the avatar thumbnails because they work in the CMS recent comments widget. Inspecting the elements with Firebug shows that code for the ones that work in the CMS widget is identical to the code that doesn't work in the Activity Stream:

    CMS Widget code (works):
    <img src="/forum/image.php?u=1&dateline=1321325596&type=thumb" alt="userx" title="userx">

    Activity Stream code (broken):
    <img src="/forum/image.php?u=1&dateline=1321325596&type=thumb" alt="userx" title="userx">

    What could be causing this?
    Mind posting a link?


    • #17
      Here's the link to my activity stream:

      - - - Updated - - -

      Here's a thought - my host upgraded to PHP 5.4.2 recently. It broke my CKEditor but I was able to fix it. It also broke my GD that is used for Human Verification. This makes me think it may have broken the image processing that makes the avatars, even though the rebuild is reported as a success.

      - - - Updated - - -

      I checked the images in my vbcustomavatar table and they didn't get resized. So I'm guessing there is a problem with the resizing function when running under PHP 5.4.2.


      • #18
        Yes, your thumbnails aren't properly generated. It appears to show fine in the CMS, but that's because it is using CSS to set maximum dimensions for the image.


        • #19
          OK - I have a temporary fix by resizing through CSS. I added this to my additional.css and the Activity Stream looks fine again:

          .activitybit .avatar img 


          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.