I am right at the point in my super secret broken project where I want to enable users to upload images with their nostr posts. I was thinking of reducing their image file size before posting chunks of base64 text to the relay (that's the easy part) but I'm not sure how to make these images on nostr notes visible. Is this just an HTML thing? I have no idea how to make uploaded images visible in nostr clients.
I am not aware of any nostr client that supports the nostr_image_host format. You can make a custom client that supports it or badger your favorite nostr client devs to support it.
The html for displaying an image uploaded via nostr_image_host looks like this:
<img class="nostr_image_host nostr_image_nimg12l24aeegn7qztt5we5t2ds9a4xtj0vd34jcrx4k6furj3yrueyshwumn8ghj7mn0wd68yat99e3k7mgjwy9wh"> <script src="https://supertestnet.github.io/nostr-image-host/nostr_image_host.js"></script> <script src="https://cdn.jsdelivr.net/gh/6502/sha256
reply
This project isn’t receiving the attention it deserves. It’s truly impressive, works great, and definitely deserves more recognition, in my opinion. Nostr needs this, and we need it to be widely supported by other clients. Thank you for making this