ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

Upload of large images fail: "uploaded file is empty"

Open tuhe opened this issue 1 year ago • 1 comments

Hi, I don't know if this is a bug or intentional behavior, but I am having problems uploading large images in ckeditor 5.

I am using the django-ckeditor5 plugin (https://pypi.org/project/django-ckeditor-5/) and I noticed that if I copy-paste a large image the plugin will fail (image has size zero on the server) and I have been unable to find a workaround (preferably just remove the limit or alternative resize the image). I have noticed that the problem also occur with the examples on the website. For instance, if I copy paste this wallpaper:

https://www.freepik.com/free-photo/galaxy-nature-aesthetic-background-starry-sky-mountain-remixed-media_17226410.htm#query=wallpaper&position=1&from_view=keyword&track=ais_hybrid&uuid=2e1cb989-c083-4564-ba22-1cc1fe69ef9e

I get this error:

image

(copy-pasting smaller regions work, obviously).

I am unable to find an appropriate setting, workaround, or warning that the image cannot be too big. The link in the error points to:

https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#error-fileuploader-uploading-data-failed

which is not very helpful. I am observing the behavior on Chrome/Firefox on Kubuntu 24.04 as well as Safari/MacOS.

tuhe avatar Aug 28 '24 09:08 tuhe

There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.

CKEditorBot avatar Aug 28 '25 23:08 CKEditorBot

We've closed your issue due to inactivity. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it).

CKEditorBot avatar Sep 28 '25 23:09 CKEditorBot