Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Attachments (again), posted by David Pilgram on Wed Aug 31 14:00:17 2011 
    icon2.gif   Re: Attachments (again), posted by Andreas Luedeke on Wed Aug 31 15:00:11 2011 
       icon2.gif   Re: Attachments (again), posted by Stefan Ritt on Wed Aug 31 15:13:02 2011 
          icon2.gif   Re: Attachments (again), posted by David Pilgram on Wed Aug 31 15:29:32 2011 
       icon1.gif   Re: Attachments (again), posted by David Pilgram on Wed Aug 31 15:20:48 2011 
          icon2.gif   Re: Attachments (again), posted by Andreas Luedeke on Tue Sep 6 12:00:13 2011 
             icon2.gif   Re: Attachments (again), posted by David Pilgram on Tue Sep 6 12:39:39 2011 
Message ID: 67104     Entry time: Wed Aug 31 14:00:17 2011     Reply to this: 67105
Icon: Question  Author: David Pilgram  Author Email: David.Pilgram@epost.org.uk 
Category: Question  OS: All  ELOG Version: 2.9.0-2411 
Subject: Attachments (again) 
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?
ELOG V3.1.5-3fb85fa6