What script is for me?

nanabite

Joined: 2002-08-20
Posts: 17
Posted: Sat, 2003-01-04 09:12

Hello all,

I was not sure where to post this, but I figured that asking here is as good place as any.

My situation is that we have a family photo album of many thousands of picture that has built up over time. It is currently stored on a server downstairs and is edited by my dad's and often viewed by my mum's computer. The problem is that my dad is using a 10mbps ethernet and my mum an 11mbps wireless connection and it can often be slow. I figure the reason for this is that the program has to download the full image in order to generate a thumbnail.

I am looking for a script which I can run from the remote computer which will take all the pictures in the directories and generate thumbnails locally and then output it either dynamically or through generated HTML which can be viewed in a remote browser. I would also be interested in any packages specifically designed to do this (ie. client/server software for photo libraries). If anyone can point me in the right direction this would be greatly appreciated.

 
vallimar

Joined: 2002-08-15
Posts: 487
Posted: Sat, 2003-01-04 18:02

If you are using Gallery, then it automatically generates a thumbnail when you
first add the image into Gallery. It doesn't generate it more then once unless
you tell it to rebuild them later on.

Otherwise, you can install ImageMagick and run a bash script or whatever to
parse through all your images and spit out thumbnails. I don't know of any
generic scripts offhand, but you can try scanning through hotscripts.com or
something.

 
nanabite

Joined: 2002-08-20
Posts: 17
Posted: Sat, 2003-01-04 20:17

Yeah, I use gallery on a couple of my sites (www.aussiepythons.com, http://www.hurlstone.com.au) however the structure that the gallery album directory uses is to put all sort of data files in with the photos. Because the photos will still be browsed manually through Zoombrowser (Canon software) and Explorer, it would mess up the photo directories (unless there is a way around this)