PrimalHQ / primal-web-app

Primal's web app for Nostr, as experienced on primal.net.
https://primal.net
MIT License
190 stars 37 forks source link

Broken avatar and banner on profile #59

Closed anthony-robin closed 6 months ago

anthony-robin commented 6 months ago

My avatar and banner never get displayed on Primal. It always show default placeholders whereas in other clients such as Snort or Amethyst, they are properly displayed.

I manage my Nostr account from my own website publishing directly to relays (without going through Nostr clients profile management form) and my assets are attached to my own domain name.

(Note that sometimes, the real avatar shows for half second before being replaced by the placeholder)

Here are two screenshots: one from Snort and the other from Primal on the same profile.

Snort

Capture d’écran 2024-02-27 à 15 51 21

Primal

Capture d’écran 2024-02-27 à 15 50 54

How can I make my avatar and banner to show up on Primal in the same way as other clients ? Could it be a cache or CDN issue ?

Thank you for your help :)

moysa commented 6 months ago

Hi Anthony, could you please provide your npub or a link to your profile so that I can investigate the issue. Thank you.

anthony-robin commented 6 months ago

Sure ! How can I send you the npub privately ? (I would prefer to avoid exposing the account on Github publicly as I manage this account for another person)

moysa commented 6 months ago

You can DM me over Nostr, here is my npub: npub19f2765hdx8u9lz777w7azed2wsn9mqkf2gvn67mkldx8dnxvggcsmhe9da

anthony-robin commented 6 months ago

DM sent, thanks !

moysa commented 6 months ago

The issue here has to do with redirection. This confused the image renderer into thinking there is no image. I added a double check. This issue should now be fixed. Closing.