Oddbean new post about | logout
 This one should work on 7.4 or higher: 
https://github.com/fabianfabian/nostr-media/releases/tag/0.3-alpha

only 2 php server requirements I haven’t been able to get rid of: ext-xml and ext-gmp. ext-xml shouldn’t be a problem, most WordPress hosting probably have this. ext-gmp I’m not sure, might be a problem for some hosts, it seems one of the schnorr libraries needs it. 
 https://media.tenor.com/bFSJ4TYo7DUAAAAC/ryan-gosling-fantastic.gif

The first two test uploads worked ( a gif and jpeg):

nevent1qqsttrfz6jyj9rmq5hkwr3kxzxnykduq0a27gyzmye8k49vjnz27h9qkhxh6l
nevent1qqs2rsaj3drkq5xzsvdly8q9c4p0jnu2a44l7k7pxvs3vf3a2nnsg5sfkyd3q

I got the GMP PHP extension error on one random sandbox test site but the other had the extension.

For some reason the WP admin backend does not show images. Could be a config issue but did not investigate further.

The npub only upload works, too. Nostur shares the media upload settings between accounts (don’t ask how I tested it 😂



https://nostrcheck.me/media/public/c182de2a93a9bd793f56b6d60cdd15df390b62739bbe336c1be20a12b659c266.webp
https://nostrcheck.me/media/public/d011643f0e14b8dce47c0a980079c25c547e4f307a339dddcc5901a15962b30a.webp
https://nostrcheck.me/media/public/083f2f69b7a4f1dfca8fe4ca2f3ec382ca6f6cbd9c2c76969a0ae79610603e44.webp
https://nostrcheck.me/media/public/5f6c7de201e72331febe72b7fe95bf00ba854bea2321fdf53b8bca4027900985.webp 
 WP backend not showing images is a problem with the plugin and upload with “shared” settings shouldn’t happen as that could leak your alt account (but only to your own media server), will fix both soon.

Thanks for testing! 
 When the Nostur sending note “hang” because of media server refusing the connection there was no way to revert back to the draft mode to resolve the issue (and not lose the note).