Utility to generate O.R.I.G.I.N.A.L gallery on MS Windows
As you probably noticed(if you have viewed some of my photos), I use jimmac’s O.R.I.G.I.N.A.L for my web gallery. The one big disadvantage of this gallery was that it did not have any utility for generation of directory and file structure for MS Windows operating system. Yeah, you can say that I use mainly GNU/Linux so I do not have to take this as such a big disadvantage, but sometimes I have to use MS Windows on my laptop, so that is why.
Well, after an hour and half of reading python manual, asking Geon and HanzZ about image library and one string conversion problem, here it is! A python script called ofr.py that converts images in its directory and creates directory and files’ structure for the webgallery.
Usage is simple, you need Python with PIL and a directory of images. After succesfull installation of both, python and PIL, copy the ofr.py to the directory with images and run it. It will create directory structure which you will then upload to the “galleries” directory of O.R.I.G.I.N.A.L on your server. Of course before upload you have to change /webgallery/info.txt file with description about photos and if you want, you can also edit description of single photos in /webgallery/comments/ directory.
So what to say at the end? I hope this script will help somebody and also that I will make it to be real GUI frontend for O.R.I.G.I.N.A.L gallery generation