-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
User icons don't load #301
Comments
I confirm bug is also present in questions. For instance you can see it on https://library.kiwix.org/viewer#askubuntu.com_en_all_2024-03/questions/17823/how-to-list-all-installed-packages and https://askubuntu.com/questions/17823/how-to-list-all-installed-packages where anonymous2 and Ivan have a custom profile image in the online version but not inside the ZIM. Looks like for each user image we get a 404 error on a webp resource (e.g. https://library.kiwix.org/content/askubuntu.com_en_all_2024-03/users/profiles/527350.webp) When we force reload the webpage, we still have the 404 but the image is finally replaced by an inline SVG. The inline SVG looks like a randomly generated image which is served when the user has no profile image Looks like some JS code is not ran under all conditions. This looks like a promising good first issue. I recommend to test it on the beer meta which is used in our automated tests (see https://github.com/openzim/sotoki/blob/3d8845d079d11ba41343a8ca1f63f779261e754b/.github/workflows/ci.yml#L15C57-L15C102), is way smaller than askubuntu and most probably also has the bug. |
Haven't looked at it but might be linked to webp polyfill since that's async |
Originally, profile image was sourced from "ProfileImageUrl". This column seems to now systematically be blank in See also https://meta.stackexchange.com/questions/247032/missing-profileimageurl-for-many-profiles-in-stackoverflow-data-dump and https://meta.stackexchange.com/questions/390985/why-are-the-profileimageurl-in-the-data-dump-of-almost-all-stack-exchange-websit EmailHash were previously available but has been removed as well even before profileImageUrl: https://meta.stackexchange.com/questions/221027/where-did-emailhash-go I think there is nothing we can do unfortunately ... |
If fact, there is something to do to not have broken image. We cannot have the proper gravatar anymore, but users should not be presented with broken images. The only thing we can do it stop relying on the fallback / ensure fallback works immediately. |
Problem seems to be that I created a very simple HTML file like this:
Simply serving the file from The bug is very random:
🤯🤯🤯🤯 |
Maybe we should consider replacing jdenticon with something else: https://github.com/topics/identicons |
I opened dmester/jdenticon#54 |
Bug fixed upstream, we should upgrade to https://github.com/dmester/jdenticon/releases/tag/3.3.0 |
User icons don't load properly in user lists... but once the force reloaded, then they load properly.
I believe this is not the only place with this bug around user icons.
The text was updated successfully, but these errors were encountered: