Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon3.gif   images attached shown as inline , posted by Emiliano Gabrielli on Mon Feb 7 13:14:41 2005 
    icon2.gif   Re: images attached shown as inline , posted by Stefan Ritt on Mon Feb 7 13:34:17 2005 
       icon7.gif   Re: images attached shown as inline , posted by Emiliano Gabrielli on Mon Feb 7 14:06:48 2005 
          icon7.gif   Re: images attached shown as inline , posted by Stefan Ritt on Mon Feb 7 14:23:37 2005 
             icon5.gif   Re: images attached shown as inline , posted by Emiliano Gabrielli on Mon Feb 7 15:59:04 2005 
                icon2.gif   Re: images attached shown as inline , posted by Stefan Ritt on Mon Feb 7 21:07:58 2005 
                   icon4.gif   Re: images attached shown as inline , posted by Emiliano Gabrielli on Tue Feb 8 12:39:53 2005 
                      icon4.gif   Re: images attached shown as inline , posted by Stefan Ritt on Sat Feb 12 17:08:32 2005 scaling.gif
                         icon8.gif   Re: images attached shown as inline , posted by Emiliano Gabrielli on Wed Feb 16 08:58:47 2005 
                            icon2.gif   Re: images attached shown as inline , posted by Stefan Ritt on Wed Feb 16 09:02:09 2005 
                   icon12.gif   [patch] Re: images attached shown as inline , posted by Emiliano Gabrielli on Tue Feb 8 19:04:25 2005 
                      icon2.gif   [patch] Re: images attached shown as inline , posted by Stefan Ritt on Sat Feb 12 17:48:51 2005 
Message ID: 910     Entry time: Mon Feb 7 14:23:37 2005     In reply to: 909     Reply to this: 911
Icon: Smile  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Request  OS: Linux  ELOG Version: 2.5.6 
Subject: Re: images attached shown as inline  
> yes I know, but it could be a "placebo" :-P .. we are using the elog in a lan so it
> could be a good temporary solution ...
> 
> can you point me to some documentation I can read to be able to do it? should I edit
> the css file ?

No, I would have to add another option to the configuration file, it's not yet implemented. 

> can be usefull to be able to "optionally" execute some external program (a sort of
> pipe) in order to be (eventually) able to set a "filter program" for attachments.
> The same way an MTA does with procmail I mean.
> 
> in this case one has to be able to access both to the original image and the
> processed one...

Executing and external program is possible via the 

Execute new/edit/delete = ...

command. While you can pass attribute values to the program to be executed, it is not
possible right now to pass attachment names, although this could be easily added. What
would be harder is to reformat the whole entry. If you just downsample an image, that
would be ok. But if you want to keep the original, you would have to modify the logbook
entry to contain n*2 attachments afterwards, which would not be easy.

So I don't see a simple way of achieving what you want. Sorry.
ELOG V3.1.5-fe60aaf