Hello Rafael,
Sorry I am late but tested just now. It works fine on multiple uploads if i drag images in new line but it seems the issue still there if drag image(s) the end of a text. Thank you
Hello Rafael,
Sorry I am late but tested just now. It works fine on multiple uploads if i drag images in new line but it seems the issue still there if drag image(s) the end of a text. Thank you
It seems to this one still happening.
Sorry, what is a bug in that video? That looks exactly as I would expect it to work?
I missed this feature A setting to always insert images as separate paragraphs - #16 by andrei which is I think works well until this commit Faster (and smaller) uploads in Discourse with Rust, WebAssembly and MozJPEG | Blog - #9 by Falco not sure.
I have a video from my community about this feature when I presented to the members.
From what I can tell @andrei’s change was tightly scoped to the toolbar, increasing the scope so it also catches drag-and-drop and paste would be a bit risky for the release.
Also unsure if we want to do that?
I’ll fix it and then we can decide if the fix is dangerous to merge before release.
As I remember and from what I see in the code, it doesn’t matter if an image was added using toolbar or using drag-and-drop. In both cases, this should work.
Also, I tested it and looks like now everything works as expected (it’s hard to tell when exactly this was fixed, but I think it’s not so important). Here are videos for drag-and-drop, but it also works when using toolbar.
In the middle of the line:
At the end of the line:
At the end of the last line:
Oh yeah sorry that’s my fault I didn’t even tested it since the last video I uploaded. Now it works as expected
Thank you @andrei to check this.
Saw a Reddit post about a promotional press image for Diablo IV that is 109MB in size and 12000x12000 and wondered if it would be possible to upload it to Discourse, and if so, how long it would take.
Managed to upload it from my phone in just 20 seconds for processing and upload
It was downscaled to 1920x1920 and 208KB.
Note, on iPhone that image is a consistent crash
It crashes Safari if you try to upload the 100mb file, somehow the flow triggers an out of memory
Weird, on my 2017 iPad with 4GB RAM it fails to compress, but it does gracefully as it gets detected and then the original image goes forward in the upload process.
@sam can you try running http://clb.confined.space/dump/mem_growth.html and clicking until you get the max? Does it crash the tab for you? My old iPad goes to 900MB but doesn’t crash.
I did try it but also no crash observed at all…
Note… this is now disabled by default pending fixes from Apple