Uploaded images not showing in Post Moderation

I have just started using Discourse and I figured out that images uploaded from users (basic trust level), not showing in post moderation. Instead Discourse render an image with src="/images/transparent.png".
In post approval, the image is being render properly on the post.
Here is a screenshot during the moderation…

2 Likes

I can repro this on Try. There should be a cute cat there…

@eviltrout have you seen this?

I don’t think this is related to my new flagging work. It seems the issue is we do cooking for queued posts in the client side, and the engine can’t cook the upload:// URL. @sam this seems like a bug with the cook-text component to me?

5 Likes

Any fix for this yet?

Nope @sam still needs to fix it. Stop being so lazy @sam! :smiley:

3 Likes

Yeah @sam stop being so lazy!! :joy::grin:

Sorry for being so :sleeping:

I implemented a fix in:

https://github.com/discourse/discourse/commit/232311aa8c8e879c98dc061ac1755ee4d0dd9b0f

7 Likes

This topic was automatically closed after 29 hours. New replies are no longer allowed.