[ale] Q: q'n'd script to make 'thumbnails' with ImageMagick?

John Mills jmmills at telocity.com
Wed Jul 24 09:13:02 EDT 2002


Geoffrey -

Thanks for your help once again.

On Tue, 23 Jul 2002, Geoffrey wrote:

> Actually I wrote a script to do this.  It also will rename the files to 
> random names if you like.  One of the things my wife has on her web site 
> are pictures of students from various activities during the year.  So, 
> to save me the hassle of building the pages, I wrote the script.  You're 
> welcome to it if you like, just let me know.

That would be very helpful. Thanks I had in mind something like:

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#!/bin/sh
ls *.jpg > /tmp/jpeglist
for FILENAME in `cat /tmp/jpeglist`
do
 <make thumbnail and save to $FILENAME.sm>
done
rm /tmp/jpeglist
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

That would leave me to do the HTML index manually.

 - John Mills


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list