Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   attached picture size changed, posted by weiluo on Thu Jun 25 22:58:01 2009 3.gif.png
    icon2.gif   Re: attached picture size changed, posted by Stefan Ritt on Fri Jun 26 08:15:16 2009 
       icon2.gif   Re: attached picture size changed, posted by weiluo on Fri Jun 26 17:04:23 2009 
Message ID: 66427     Entry time: Fri Jun 26 17:04:23 2009     In reply to: 66424
Icon: Reply  Author: weiluo  Author Email: lwsy711@gmail.com 
Category: Question  OS: Linux  ELOG Version: 2.7.6 
Subject: Re: attached picture size changed 

Stefan Ritt wrote:

weiluo wrote:

Hello everyone.
Here I found a problem recently with attaching screen-shot to the elog.
I am using "elog -f xxx/xxx.gif" to make elog entry. Recently I found my attached pictures were scaled to the half of the original size horizontally appearing in the log entry, the other half of the picture was filled with black. I need to click it once to magnify the picture to see it.
Does anyone know how to solve this problem? It bugs me a lot.

By the way, I saw some pictures were produced with the name "xxx.gif.png" in the logbook directory.
Thanks, and one of the modified picture is attached.


When you submit a picture, elogd calls the ImageMagick package to generate a thumbnail out of it, therefore you get the "xxx.gif.png" file (which represents the thumbnail). If you create your GIF images with the ROOT package, ImageMagick will give problems because ROOT does not use standard GIF encoding, therefor the black border on your pictures. You can turn off the thumbnail generation completely by specifying
Thumbnail size = 0

in the configuration file. This option was just introduced recently, so please update to SVN revision 2227 for this option to work.


Thanks a lot for the detailed explanation! It works!
ELOG V3.1.5-2eba886