Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 589 of 808  Not logged in ELOG logo
icon5.gif   Drag and drop does not work in 3.1.3?, posted by Lech on Tue Aug 20 09:47:06 2019 
Hello,

I can paste images into text (which resulted in the text_size too long error message), however, I can't drop them on my elog. However, I
can do it on the demo version. Was the drag and drop into text already supported in version 3.1.3 and I am just missing some configuration option, or do
    icon2.gif   Re: Drag and drop does not work in 3.1.3?, posted by Stefan Ritt on Tue Aug 20 10:34:37 2019 
The Drag & Drop was implemented already in 3.0.0 (see https://elog.psi.ch/elog/download/ChangeLog).
So no idea why it's not working for you.

Stefan
    icon2.gif   Re: Drag and drop does not work in 3.1.3?, posted by Lech on Tue Aug 20 11:37:03 2019 
Can I find the config of the demo elog somewhere, so I could try it locally?




Stefan
Ritt wrote:



The Drag & Drop was implemented already in 3.0.0 (see https://elog.psi.ch/elog/download/ChangeLog).
    icon2.gif   Re: Drag and drop does not work in 3.1.3?, posted by Stefan Ritt on Tue Aug 20 11:45:14 2019 
It's the config from the distribution. A copy is below.

Stefan


[global]
    icon2.gif   Re: Drag and drop does not work in 3.1.3?, posted by Lech on Tue Aug 20 13:28:53 2019 
Thank you. Locally doesn't work for some reason... I'll try to investigate.

Btw. do you plan to properly accept pasting of images? Pasting a screenshot saves a lot of time when making logs.




Stefan
    icon2.gif   Re: Drag and drop does not work in 3.1.3?, posted by Andreas Luedeke on Tue Aug 20 17:03:57 2019 
> Btw. do you plan to properly accept pasting of images?

I would claim it is already properly supported. If you hit a size limit you can configure your ELOG to adjust the limit (Max content
length).
    icon2.gif   Re: Drag and drop does not work in 3.1.3?, posted by Lech on Wed Aug 21 02:21:57 2019 
From what I've read in a past post, it is hitting the max content length because pasting, unlike dropping, is not properly supported and it is possible
that images get converted to text in some way and occupy a lot of "content length". So what I mean is that the pasted image is handled the same
way as the dropped image.
    icon2.gif   Re: Drag and drop does not work in 3.1.3?, posted by Lech on Wed Aug 21 07:00:17 2019 
I've discovered, that if I switch my local elog to SSL, dropping of images starts to work (as expected). However... pasting stops. If I select "paste"
popup, I got the message about my browser security settings not allowing to paste, and that I can paste in the popup window. In Firefox I can actually
paste in the popup window (image appears there), but after clicking OK nothing appears in the editing window. In Chrome and Opera nothing appears even
ELOG V3.1.5-3fb85fa6