Hello,
A few months ago my discourse installation stopped inserting images into posts and instead only displays them as a URL to the image to download.
I haven’t edited any code, I wondered if anyone can help understand what is happening?
Thank you
סיכום מבוסס בינה מלאכותית
Users are discussing an issue where HEIC images are not displaying in posts on a Discourse forum, instead appearing as download links. jackjjw reports the problem began months ago without code changes. osioke asks for details on image upload method and a screen recording. pfaffman questions whether Sidekiq is running or if a recent reboot/upgrade occurred. jackjjw confirms uploads work for them but notes others are affected, sharing a screenshot. Falco identifies the issue as HEIC format support, which is relatively new in Discourse, and asks if the instance is up to date. jackjjw tests uploading a HEIC file here and finds it works, converting to JPG. Falco confirms the conversion works but suggests checking /logs for errors if it fails on the user’s instance. jackjjw thanks the community and plans to investigate logs further. The issue appears to be related to HEIC format handling and server-side image conversion failures.
How are you adding the images to the post? Can you share screen recording of an image being shared and the URL that shows?
Is sidekiq running? Have you rebooted or upgraded recently?
Oh this is using the new HEIC file format. Support for that is kinda recent on Discourse, are you running latest? Can you upload the same image here or on try successfully ?
Hmm, it seems to work here.
Yes, works fine.
Discourse did convert it to a widely supported format, JPG, so everyone can actually see it. That may fail, so I’d check /logs on your instance for clues.
OK thank you, I’ll check and report back if I can figure it out.

