Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static placeholder image avatar #752

Open
TheVillageGuy opened this issue May 1, 2024 · 6 comments
Open

Static placeholder image avatar #752

TheVillageGuy opened this issue May 1, 2024 · 6 comments
Labels
enhancement New feature or request frontend Visual issues, improvements, bugs or other aspects relating mostly to the front end good first issue Good for newcomers

Comments

@TheVillageGuy
Copy link
Contributor

TheVillageGuy commented May 1, 2024

Users without an Avatar don't appear in the activity boxes

I'd like new and existing local users to be automatically provided either a default avatar, or preferably an automatically generated one. Perhaps a black and white, or grayscale template, where the colours are generated based on the username

I've considered doing it by hand, but this would have to be done everytime a new user is created

I have succeeded in displaying a default avatar when a user doesn't have one, but that won't look very nice in the active people box.

@TheVillageGuy TheVillageGuy added the enhancement New feature or request label May 1, 2024
@TheVillageGuy
Copy link
Contributor Author

TheVillageGuy commented May 1, 2024

Using default avatars for users without one:
image

@e-five256
Copy link
Member

e-five256 commented May 1, 2024

Not sure I agree with actually generating random images and storing them, that seems like a large cost for instances with tons of users where it already is prohibitively expensive running Mbin compared to other software

I think using an avatar set wouldn't be a bad idea. Especially if we could make it just the software logos for the user. We could know what software the instance the user is from is running due to nodeinfo (though we might not currently be parsing and storing that like lemmy does), so doing something like the lemmy icon for lemmy users, mastodon for mastodon users, etc, would be nice.

Then again, not really sure how I feel about assigning avatars to users that choose not to have one, as it seems like it was their choice not to have one, and to present the user any other way is against their choice, but I think that opinion is in the minority as there were even scripts to add icons to avatar-less users for /kbin, and lemmy does add the lemmy icon for all users without an avatar, regardless of them being lemmy users or not.

@TheVillageGuy
Copy link
Contributor Author

TheVillageGuy commented May 1, 2024

The generated avatars don't have to be big, 32x32 or maybe 64x64 jpg

About the choice, I'd suggest generating one, then giving them the option of removing it or uploading their own instead of not giving them one.

@TheVillageGuy
Copy link
Contributor Author

I'd like to say that having the default avatars looks better than having none, It just looks more uniform. https://rimworld.gallery/all

Copy link
Contributor

This issue is stale because it has been open 50 days with no activity. Remove stale label or comment or this will be closed in 6 days.

@github-actions github-actions bot added the Stale Inactivity for too long label Jun 22, 2024
@BentiGorlich BentiGorlich removed the Stale Inactivity for too long label Jul 30, 2024
@TheVillageGuy TheVillageGuy added the frontend Visual issues, improvements, bugs or other aspects relating mostly to the front end label Sep 2, 2024
@melroy89
Copy link
Member

melroy89 commented Sep 22, 2024

The generated avatars don't have to be big, 32x32 or maybe 64x64 jpg

I'm more in favor or just a single static (reusable) placeholder avatar image instead.

Don't try to generate those avatars, it's just too much waste storage space. It doesn't add value anyways.

@melroy89 melroy89 changed the title Automatically generated avatars Static placeholder image avatar Sep 22, 2024
@melroy89 melroy89 added the good first issue Good for newcomers label Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request frontend Visual issues, improvements, bugs or other aspects relating mostly to the front end good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants