Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 788 of 806  Not logged in ELOG logo
icon5.gif   Attachments and images of attachments, posted by David Pilgram on Mon Nov 23 11:53:22 2009 
Hi Stefan,

I attached a 12 page (22kB) pdf file - no images - to an entry, but elog only converted the first 8 pages to
images (.png).  This is reproducable, i.e. a different small multipage pdf file produced the same number of images.

The size of the pdf file does not seem to be a problem, a single page pdf file with a lot of images in it
attached as expected.

Is this correct, or a defined limitation?
icon5.gif   Attachments (again), posted by David Pilgram on Wed Aug 31 14:00:17 2011 
OK, so no-one has ideas as per my question in elog:67088.

Looking at the issue from another angle.

If you attach a pdf file (for example), two files are added to the logbook:

../logbooks/hidden/110705_235520_whatthis-0.png
../logbooks/hidden/110705_235520_whatthis.pdf

Is there any way that you can select an attachent, but only the thumbnail (.png in this case) is stored (and
subsequently viewed)?  Options for ability to select an attachment, or how the thumbnail is manipulated/viewed
exist, but nothing about the storage or otherwise of the original document that I can find.

I've tried manually deleting the .pdf file (after going through the automatic routine to make an attachment),
and elog doesn't seem upset at the lack of the .pdf file at all.  The only time anything happens is if one
clicks on the image - and then you get a 'file not found' message from the browser - I could live with that.

In my case the original .pdf file is elsewhere, I've no need to have duplicates scatted in various logbooks, and
while ideally that would also be true of the thumbnail, it is fair enough for this to be stored in each logbook
where it is required.  This removes the issue of how to have an attachment in a different logbook (other than by
links, which would get rather tiresome to have to keep making).

Anyone any ideas?
icon1.gif   Attachments, posted by Steve Williamson on Fri Feb 6 12:08:49 2009 

If I open an elog entry as read-only then attachments show as links which can be clicked to open the attachment.  However, if I open an entry using Edit then attachments show as text with a delete button - I would expect to be able to read attachments when editing an entry but there may be some good reason for not being able to.

Also, on attachments, if I click on the attachment icon (paperclip) on the list page the URL encodes "/" as "%2f", e.g.

http://xxx.xxx.xxx.xxx:8080/Change_Log/..%2FChange_Log%2F090205_123135%2FCHANGE_CONTROL_NOTICE_050209.doc and I get the following error:

"Invalid URL: Change_Log/..%2FChange_Log%2F090205_123135%2FCHANGE_CONTROL_NOTICE_050209.doc" .  If I then change all occurrences of "%2f" to "/" the link works.

We don't use attachments very often but occasionally they are just what you need - and so is elog!

great piece of software - many thanks for sharing it

Steve

 

 


icon1.gif   Attachment problems, posted by Dennis Seitz on Fri Feb 27 16:43:01 2009 Picture_1.png

Apologies if these are known bugs, I'm very busy at the moment but I wanted to post this before I forget:

I'm using Safari on a Mac to make Elog entries.

1) The preview of some pdf attachments in edit mode displays huge areas of white space around each page. I can send examples if you'd like - please email me directly, for some reason I never get email notifications from this forum (and they aren't being tagged as spam, so I don't know where they go).

2) When that happens, the text entry area for ELcode format expands horizontally to match the huge pdf file width. Text without line feeds then doesn't wrap until the huge window width is filled, so I have to scroll horizontally all the time while editing to see what I've written.

3) So I turned off attachment previewing as a workaround (Preview attachments = 0 ). That worked fine by not expanding the entry area, but I noticed some odd behavior. The list of attachments below the text entry area is badly formatted. Here's a screen shot:

Picture_1.png

I tried to reproduce this with a new entry but the text was formatted properly for that entry.

P.S. While editing this entry, I see that the text area width is again being set by the width of the picture I've attached - try it yourself; if you try to resize your browser window smaller while editing, the text will only wrap until the width of the attachment is reached - the text no longer wraps at smaller widths than the attachment. 

icon5.gif   Attachment not downloaded when elog is mirrored ?, posted by Franck Sabatie on Tue Mar 31 15:16:58 2009 

Hello,

I just mirrored a logbook and noticed attachments are missed.

On another similar note, when an email notification is sent and the post has attachment, the attachment show up in the email BUT there is nothing in them.

Anything special I should know about those attachments ?

Thank you,

F.Sabatié

 

icon5.gif   Attachment file names encoding, posted by Alexander Nozik on Mon Oct 28 11:21:19 2013 
Hello,
I am trying to move elog from old FreeBSD system to a new Ubuntu server and stuck with attachment encoding problem. The elog entries as well as attachments ашду тфьуы are mostly in koi8-r or cp1251 encoding. While it is relatively easy to configure log entries to display correctly, I still can't manage to deal with attachments. In old elog all attachments with Cyrillic file names are "not found" by elog web interface while files are present in the directory (though previous admin could have done something with the encoding).

If I am creating a new elog with default koi8-r charset, then new cyrrilic attachments are uploaded and displayed normally but after download the file name encoding is broken. Does elog do something with attachment name encoding?
icon5.gif   Attachment file "" empty or not found, posted by roets on Tue Sep 28 22:44:50 2004 
I am getting the following error message with version 2.5.4-4 when I try to
add a new entry to a log book.

Attachment file "" empty or not found

If I add the following line to me elogd.cfg I do not get the error, but will
not be able to use attachments.

Enable attachments = 0

I recently upgraded from version 2.2.5 which did not have the problem.  I
did not see anything in the changelog referencing this type of change to how
attachments are handled.

I there something I need to set in the config so that an attachment is not
expected every time a new entry is made?
icon1.gif   Attachment Uploaded Time is off by one hour, posted by Edmund Hertle on Wed Sep 2 20:23:21 2015 elogTest.rtf

If I upload an attachment the timestamp of the attachment is set to one hour in the future, as demonstrated with this test attachment being one hour in the future compared to the entry time

ELOG V3.1.5-3fb85fa6