turnermm / ckgedit

CKEditor integrated into Dokuwiki
https://www.dokuwiki.org/plugin:ckgedit
GNU General Public License v2.0
60 stars 49 forks source link

Not all pasted images are saved #658

Closed Grief closed 2 years ago

Grief commented 2 years ago

Steps to reproduce:

  1. make a screenshot, I reproduced it with this one: image
  2. paste it ten times to the page (that supposed to be how-to-article with the screenshot examples)
  3. save the page
  4. observe, that some images were not parsed image
turnermm commented 2 years ago

Maybe 10 times is a bit too much for it to handle! Moreover, the images might be over-written if they are exactly the same.

Grief commented 2 years ago

What does it mean 'too much to handle'? is there any configurable parameter to increase? In this particular case I believe it might be related to the fact that they are the same though...

turnermm commented 2 years ago

might be related to the fact that they are the same though...

Very possibly

vmario89 commented 2 years ago

This issue occures at our instance too. But it only happens if you post an image from clipboard and when you resize that image in the same step. You can omit breaking your images when pasting, saving the page, then editing the size. I wanted to report this as a bug but this issue already contains my point

  1. paste an images grafik

  2. double click and enter some values grafik

  3. save the site. the data is broken grafik

turnermm commented 2 years ago

That happens because there is no image as yet that has been saved to the server.

vmario89 commented 2 years ago

Hi. yes i thought that too. Is there some way to omit that? A regular user will never know by himself that a newly pasted image will break if resizing in the same step. I got that pain first when i created a page with 10 screenshots at once

turnermm commented 2 years ago

I don't see how that can be done since the image does not have a name until it has been saved to the server.

proxymus commented 2 years ago

@turnermm I've noticed the problem of @Grief too. When you paste two different pictures from the clipboard into one article, only the last one is saved. The pictures haven't been modified before the page was saved.