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.
Btw. adjusting the Max content length, according to the message, requires recompilation of the program, so it is not only a matter of configuration.
Andreas Luedeke wrote: |
> 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 ).
Or did I misunderstand your question?
Lech wrote: |
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 Ritt wrote: |
It's the config from the distribution. A copy is below.
Stefan
[global]
port = 8080
[demo]
Theme = default
Comment = General Linux Tips & Tricks
Attributes = Author, Type, Category, Subject, Pinned
Options Pinned = boolean
Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other
Options Category = General, Hardware, Software, Network, Other
Extendable Options = Category
Required Attributes = Author, Type
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type
Last default = 31
Lech wrote: |
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). So no idea why it's not working for you.
Stefan
Lech wrote: |
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 I need to find a repository with a more recent version of elog?
Thanks!
|
|
|
|
|
|
|