Skip to:
Content
Pages
Categories
Search
Top
Bottom

Load external file as avatar

  • @graq

    Participant

    Is there a way to load a file from an external site (cURL?) and assign that as a member’s avatar? There must be other ways to do than just manually via the avatar edit form page?

Viewing 2 replies - 1 through 2 (of 2 total)
  • @graq

    Participant

    The files are not loaded into the media library, but stored in wp-content/uploads/avatars/USER_ID/-
    I can do that. Is there a way I can make BP create the various sizes?

    @graq

    Participant

    Super, so I’m now pulling it in with imagecreatefromjpeg(‘http://…’); and saving it with imagejpeg().
    Anyway to auto crop to get the images into a nice square shape?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Load external file as avatar’ is closed to new replies.
Skip to toolbar