Oddbean new post about | logout
 Just did. 
  https://i.nostr.build/M5VqE.jpg  
 ok who broke gif uploads 
 You probably just saved it wrong. Very easy to do, in fact i don’t even know how to do it right!

Or someone broke something 
 I saved it right. Maybe this is a new bug with nostr build 🤔 
 It's a bug in Damus. There's an issue reported. I'm working on a fix. Short answer is Damus uploads all images as a jpg to the image server. Theres potentially more going on with iOS interference but I'm still working that out. I'll have a PR up soon. 
  https://i.nostr.build/wGdvl.gif  
 Now it worked though 🤔 maybe if the gif was downloaded with a jpg extension? 
 Maybe, I've experienced the inconsistency and I think it may be iOS interference to make images web compatible. There's an option in the media upload dialog for Compatibility and options are Automatic, some option to disable, and something like Most Compatible.

I do know by the Damus source the uploader sets the content type in the POST request to "image/jpg" if the media is an image, regardless of what kind of image it is.

However, in testing a potential fix I've experienced mixed results where sometimes it uploads with the gif extension and content type but sometimes it doesn't so maybe there's more to it.