SFML community forums

General => SFML website => Topic started by: Ant on December 18, 2016, 11:20:34 am

Title: Custom Avatar Is Not Accepted
Post by: Ant 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.
Title: Re: Custom Avatar Is Not Accepted
Post by: Hapax 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 (http://imgur.com/) host your images for free.
Title: Re: Custom Avatar Is Not Accepted
Post by: eXpl0it3r 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.
Title: Re: Custom Avatar Is Not Accepted
Post by: Ant 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!
Title: Re: Custom Avatar Is Not Accepted
Post by: kipbits 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:
(https://en.sfml-dev.org/forums/index.php?action=dlattach;topic=21254.0;attach=5400)

Is there a reason attached images need to show up again at the bottom of the post?
Title: Re: Custom Avatar Is Not Accepted
Post by: eXpl0it3r 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.