Announcement

Collapse
No announcement yet.

Reload Avatar Scheduled Task?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Not having much luck here, I'm looking through files, but can't find what it could be.

    Something is resizing at the point of upload to 100 x 100, but can't find what.
    I can't find where the avatar is picking to show the "thumb=1" in threads, if I could do that, then I could remove it so it just loads the full image.

    Anyone got any ideas? Because uploading pictures, for them to then resize to 100 x 100 is not a nice look.

    Comment


    • #17
      Sorted.

      Incase anyone is wanting to do this, I edited image.php in the core directory, if you find $table = 'customavatar';, then replace the $filedata_thumb to just say $filedata as I have here, it's not elegant, and I think someone can probably do this better! But it's doing what I wanted now.

      Code:
          else
          {
              $table = 'customavatar';
              if ($vbulletin->GPC['type'] == 'thumb' OR !empty($vbulletin->GPC['thumb']))
              {
                  //$filedata = 'filedata_thumb';
                  $filedata = 'filedata';
              }
          }

      Comment

      Related Topics

      Collapse

      Working...
      X