Re: images attached shown as inline , posted by Stefan Ritt on Mon Feb 7 21:07:58 2005
|
> uhm ok .. can I expect to get a release with this feature in the near future ?
I checked how I would do that and did not find a good solution. If I put a
<img width=300 ...>
for example, this scales down a big picture to only 300 pixels width. But if you submit a small
picture, like just an icon, it blows it up to 300 pixels as well, which does not look nice.
Unfortunatle I don't know of any option like "maxwidth=x" which only scales pictures down if they
are larger than x. Do you know? |
Re: preselected values and conditional options, posted by Stefan Ritt on Sat Feb 12 17:06:44 2005
|
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
> Attributes = Author, Type, Category, Subject
> Required Attributes = Author, Type, Subject
> Options Type = Deposition{1}, Arc Studies{1}, Conditioning{1}, Vacuum{2},
> Other{3}
> Preset Type = Deposition
The "Preset xxx" option actually never was ment to be used with conditional
attributes. I added that functionality in rev. 1.553. Please give it a try. |
Re: erroneus encoding, posted by Stefan Ritt on Sat Feb 12 17:31:46 2005
|
> elog sends wrong HTTP headers, charset is empty and not separed from the
> next one "Connection: Keep-Alive ... this bug tells the browser that the
> encoding is "connection:" ... that is wrong.
This has to do with the "%S" vs. "%s" bug described elsewhere in this forum.
I fixed that. The validator link above now also reports error free. |
Re: HTML 4.1 transitional validation fails, posted by Stefan Ritt on Sat Feb 12 17:40:55 2005
|
I added ths missing tags. The validator at least does not complain any more. |
Re: [patch]: fixed wrong extention check, posted by Stefan Ritt on Sat Feb 12 17:45:39 2005
|
> current version uses strstr() to check if the file has the expected ascii
> text extension ... this is buggy becouse this way a file named
> ".txt_hidden_file" or "foo.config.dat" are both seen as .txt files.
I added your routine chkext() to the code, but actually use it differently. I
display now ASCII files not by their extension, but the code checks for each file
to contain non-printable characters. If it contains all printable letters, and does
not have the extension PDF, PS or EPS, it's shown inline. |
[patch] Re: images attached shown as inline , posted by Stefan Ritt on Sat Feb 12 17:48:51 2005
|
Are you sure that this does not stretch small images? Please see elog:931
> two new elog.conf parameters are defined:
> Attached image width ; width of full view image attached
> Attached image width entry ; width of attached image in the entry list view
I would rather go with a new class in the CSS file to contain this options, since I
want to keep the number of options as small as possible. |
Re: MIME encoding of mail?, posted by Stefan Ritt on Sat Feb 12 18:00:48 2005
|
What you can try is to debug the communication between elogd and the SMTP
server. Just turn on logging via
Logfile = log.txt
Logging level = 3
After sending email, you see the conversation in log.txt. Maybe this gives you
some hints. |
Re: Help with configuration newbie, posted by Stefan Ritt on Sun Feb 13 16:43:05 2005
|
> For me, when I put the Category in the fixed attributes for reply, I see the
> Category but when I actually try to send the message - it says Category not
> entered. I am sure I am doing something very stupid. Please help.
No, it was a bug, which I could reproduce now. I fixed it in revision 1.554. It will
be contained in the next release. |