PrimalHQ / primal-web-app

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

Primal does not add imeta tag to images #88

Open gdiguardo opened 2 months ago

gdiguardo commented 2 months ago

Describe the bug

When I post an image to primal (via webapp) it appears correctly on primal.net but it appears letterboxed on other clients such as soapbox (https://ditto.pub and https://gleasonator.dev). Here an example https://primal.net/e/note1ku2kgfjv2zz57tzwh3ww2hwhgvgkkdtjm2fwaesft56cw5czr90qkrdvv4

The soapbox developer suggest it's primal.net not attaching imeta tag to the image and that should be fixed in primal.net

Steps to reproduce

post an image using primal.net. At appears correctly look at that image on https://ditto.pub It will apper letterboxed

Expected behavior

No visual difference in primal.net but the image should be displayed maximized on those clients that checks metadata

Environment

https://primal.net https://ditto.pub

Additional context

Other clients have the same problem