Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemm.ee
lemmyconnect·Connect for Lemmy AppbyDaniyyel

Avatars and community images not loading on some instances (0.19.4+)

When using my home instance, lemm.ee, the user avatars and community images of all communities and users of other instances are not loading. Instead they show a infinity spinning icon.

Since the release of lemmy 0.19.4 images can be loaded via the new image proxy. Connect seems to append format=webp&thumbnail=64 to an image URL. However, when this is added to a proxy image URL, it it not working. These query parameters are only working for /pictrs images.

Example of url that fails: https://lemm.ee/api/v3/image_proxy?url=https%3A%2F%2Flemmy.world%2Fpictrs%2Fimage%2Fc6d6b005-8790-4d12-a11e-ef2cba2cb397.png?format=webp&thumbnail=64

Edit: as far as I can see in the json API, the icon/avatar url is delivered without the query parameters, and Connect is adding them. For users/communities on my home instance the url is always with /pictrs, so after adding the query parameters it still works. But for users/communities on another instance the url is with /image_proxy and then adding the query parameters leads to an error.

View original on lemm.ee
14

No replies yet

No comments on the original post yet.
Avatars and community images not loading on some instances (0.19.4+) | Spyke