Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Contributions to ELOG  Not logged in ELOG logo
Message ID: 12     Entry time: Wed Feb 23 11:25:51 2005
Author: Emiliano Gabrielli 
Author Email: AlberT@SuperAlberT.it 
Category: Script 
Subject: bash script for thumbnails creation, version: 0.2.0 
Status: Stable 
Last Revision: Mon May 2 14:51:29 2005 by Emiliano Gabrielli 
The following script creates a thumbnail for image/ps/pdf files.  
it can be used with "Execute edit" and "Execute new" configuration commands  
in order to get resized thumbs of attachments.  
  
It uses file(1), convert(1) for images, gs(1) is also required for ps and pdf.  
  
You have to start elogd with the "-x" option to enable execution and put  
something similar to the following in you configuration elog file:  
  
Execute new = /path/to/make_thumbs -s 650 -q 95 $attachments  
Execute edit = /path/to/make_thumbs -s 100 $attachments  
  
make_thumbs have to be executable by the user running elogd, of course.  
 
 
ChangeLog: 
* version 0.2.0 Fixes a BUG in PDF creation 
Attachment 1: make_thumbs  2 kB  Uploaded Thu Apr 14 13:08:38 2005  | Show | Show all
ELOG V3.1.5-2eba886