What is Nostr?
mewj / Bartholomew Joyce⚡️🇫🇷
npub1fzd…z4dv
2023-04-24 18:14:36
in reply to nevent1q…cy4l

mewj on Nostr: I feel like this could work fine on Damus with a little tinkering. When Damus ...

I feel like this could work fine on Damus with a little tinkering. When Damus initially received and renders an event that mentions a file attachment it can show it as a note mention, and once it pulls in the note and sees that it’s an image file it can upgrade the display of the note from inline note mention to an inline image. If the transition can be done smoothly without screwing up your scroll position it would be nice.

It’s definitely more complicated than regular inline image URLs, because now to render you need to have both the text note and the file attachment note, but it’s not impossible.
Author Public Key
npub1fzdvtqluxr8macqfthtndmzxg6864zcc0cc3lknzd8zwrq5ya5xq4yz4dv