Tool to generate static pages with Photos

Jean-Eric Cuendet jec at rptec.ch
Mon Apr 24 06:19:53 UTC 2006


> Date: Sun, 23 Apr 2006 16:47:29 -0400
> From: "Luis M" <lemsx1 at gmail.com>
> Subject: Re: Tool to generate static pages with Photos
> To: "Ubuntu Help and User Discussions" <ubuntu-users at lists.ubuntu.com>
> Message-ID:
> 	<c1a7b3c90604231347o2231a73aw8486ebc0d634de6f at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
> 
> On 4/23/06, Jean-Eric Cuendet (RPT) <jec at rptec.ch> wrote:
>> Hi,
>> Is there a tool to generate static pages with photos?
>> In KDE, there was one, once, that takes a set of JPG files and generate
>> a set of pages (no PHP, jscript, ...) with thumbnails, small and real
>> photos. That's nice is you can't setup coppermine or the like.
>>
>> Thanks for ideas.
>> -jec
> 
> Since this is linux after all, here is another choice:
> 
> I use pixdir2html (http://sf.net/projects/pixdir2html)
> Download it from:
> http://cvs.sourceforge.net/viewcvs.py/*checkout*/pixdir2html/pixdir2html/pixdir2html.pl
> 
> With this script you an place it inside the Nautilus scripts folder (
> ~/.gnome2/nautilus-scripts) and create full blown web albums of the
> current directory by simply right clicking on the folder and choosing
> the script. You might also want to put it in /usr/local/bin/ and make
> a symlink to your nautilus folder, as you can run this script from the
> command line.
> 
> I wrote this script and is always in "production" mode. I use it to
> generate all my web albums.
> 
> To customize your HTML pages you simply create a .pixdir2htmlrc file
> in the current directory. Please note that this script will
> recursively find all pictures in the subsequent folders and apply the
> same .pixdir2htmlrc file to them.
> 
> For a sample album, these are some pictures i took yesterday in the
> New York Autoshow: http://lems.kiskeyix.org/images/vidaloca
> 
> E/a one of those pages are static (nothing magical there). The
> .pixdir2htmlrc file looks like:
 >
 > ... <SNIP> ...
> 
> That means that for every new folder full of images i add to the
> "vidaloca" folder, all i need to do is:
> cd /path/to/vidaloca
> pixdir2html
> 
> And all thumbnails and other nice things are generated for me.
> 
> The script works just as well from Nautilus as from the command line
> (progressbar and everything).
> 
> The only dependency is perlmagick.
> 
> Enjoy.

Thanks a lot! That's exactly what I wanted! I'll try it this evening.
-jec





More information about the ubuntu-users mailing list