Maybe some issue with ImageMagick in production vs. dev? Removing the Mogrify
dependency may also solve the issue.
Using Waffle may also help with managing uploads and assets.
Important context for Waffle in this GitHub issue on the Waflle project and potentially important context in the LiveView Uploads Deep Dive video on the Phoenix framework blog.