Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Custom Avatar Is Not Accepted  (Read 18723 times)

0 Members and 1 Guest are viewing this topic.

Ant

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • Email
Custom Avatar Is Not Accepted
« on: December 18, 2016, 11:20:34 am »
I've been trying to change my avatar to use an image from my Dropbox account.  However when I hit 'Change Profile' button in the profile settings I receive a 'Your profile has been updated successfully.' message at the top, but the avatar radio button reset back to 'No Avatar'.

I've tried the following resolutions in jpg:
596x357
512x512
128x128
32x32


What are the rules for a custom avatar via URL?
Is there a min/max size?
Is there an enforced aspect ratio?

Thanks for your help in advance.

Hapax

  • Hero Member
  • *****
  • Posts: 3346
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: Custom Avatar Is Not Accepted
« Reply #1 on: December 18, 2016, 03:46:32 pm »
The image should be hosted externally. The URL on your profile will then use the image at that location; the forum doesn't transfer and store the image so the image needs to be constantly publicly available. You can have a site such as Imgur host your images for free.
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10801
    • View Profile
    • development blog
    • Email
Re: Custom Avatar Is Not Accepted
« Reply #2 on: December 18, 2016, 09:18:20 pm »
If I'm reading that right, you're trying to set an avatar via URL, right?
There seems to be a restriction/issue with SMF (forum software), that only allows HTTP links. You can try and provide the Dropbox link as HTTP instead of HTTPS, which does a redirect and which should work (that's at least what I'm doing, but with my own server and not Dropbox).

Alternatively you can upload the image to the forum itself.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Ant

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • Email
Re: Custom Avatar Is Not Accepted
« Reply #3 on: December 18, 2016, 10:02:29 pm »
Uploading to Imgur was the solution.  I think you're right about the https comment.

Thanks for your help!

kipbits

  • Newbie
  • *
  • Posts: 49
    • View Profile
Re: Custom Avatar Is Not Accepted
« Reply #4 on: August 26, 2021, 08:44:27 pm »
FYI "Upload an avatar" works for 100x100px jpegs.

Also, I'm wondering if there is a better way to attach images without using an external host. I'm only asking because i'm currently in the process of deleting my imgur account.

I want to instead attach my images images and have them visible inline like this:


Is there a reason attached images need to show up again at the bottom of the post?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10801
    • View Profile
    • development blog
    • Email
Re: Custom Avatar Is Not Accepted
« Reply #5 on: August 26, 2021, 09:24:53 pm »
Quite the necro posting :D

I've disabled the image showing in the attachment section, as I too find it more distracting.
But there's not really a "better" way beyond that, somewhere the images need to be hosted.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything