Images not showing preview when uploaded

(#749) Bug Needs triage media self-hosting

Summary

When I drag a PNG or any image format, the picture uploads, but as a file, it doesn't show a preview of it or treats like an image. If I copy an image url, it now shows the preview but for uploaded pictures it doesn't.

Steps to reproduce

Drag a picture to a chat in fluxer self hosted, the picturte is treated like a file and you can only download it.

Environment

Stable Web 2026.702.163118, macOS 10.15.7 (arm64), Chrome 150.0.0.0, Locale en-US

Logs or screenshots

This is the log from the media proxy container when uploading the image
{"timestamp":"2026-07-24T15:27:17.777147Z","level":"INFO","fields":{"message":"media proxy listening","addr":"0.0.0.0:8080"},"target":"fluxer_media_proxy::server"}
{"timestamp":"2026-07-24T15:28:32.377538Z","level":"INFO","fields":{"message":"request","req":"H4H24G9DYE6T","kind":"asset_image","method":"GET","path":"/avatars/1529236317706125312/de102798.webp","query":"size=160","status":200,"duration_ms":89,"fetch_ms":0,"transform_ms":57,"nsfw_ms":0},"target":"fluxer_media_proxy::request_log"}

2 comments

Sign in with Fluxer to comment and vote.
Comment by @SaviorD22
RexSystem 1 vote originally by @SaviorD22 on GitHub OP
Just found out that .jpg works, but it's messed up that .png from macOS screenshots are seen as files and not as pictures. I have to rename them to .jpg for them to show as images.
Deleted comment
Removed by moderator Rex: Removed a general status note that was posted on many GitHub threads. It no longer applies here.