About: Créarbo_piwigo
When I started using Piwigo I could not find my account with the other tools here and happily installed pLoader (which no longer works ^ ^). So, listening to my courage (and curiosity), I created my own utility.
This is a first draft - so it can be improved significantly.
This is a "simple" .bat (batch) file, i.e. a set of shell commands associated with the Window's utility, Nconvert.exe, already known here (Pierre-E Gougelet).
DESCRIPTION:
My goal was to make it really easy to use.
This script has the following functions:
- Automatic creation of the tree.
---------. Converted
| ------. Thumbnail
| ------. Pwg_high
- Folder "Converted" to be placed in the same directory as
the selected directory or selected files
(. is the selected directory)
This is automatically done!
- File processing and conversion of all three files is at once, and "NT-" is prefixed to thumbnail names.
- The batch file can be edited directly, easily providing customization.
The different parameters (compression formats, treatment options) are more clustered at the beginning of the file.
- It's very simple to use: just drag files or folder to 'crea_arbo_piwigo.bat' and voila!
- The batch file can be anywhere and is especially useful on the "sendTo" menu (see below).
- The script creates a summary file, "contenu.txt."
ACCURACY:
I designed this script for my needs but also included "useless" (for me) options. For example I routinely use jpeg formatted pictures on the Web, so didn't need to include other formats.
I do not insist on only one input. Two possibilities - directory or file selection - for input gives choice.
OPT is the variable corresponding to the processing options in NConvert. Again I use the most qualitative and/or obvious: keep the ratio of dimensions, "opthuff-" and "-rtype lanczos" arguments for jpeg quality.
Particularity, the "-32bit" on processing the files. This allows PNG format (and others?) that have an alpha channel.
Keep in mind that everything is adaptable by editing the parameters located at the beginning of the file.
USE MENU SENDTO:
The menu "SendTo" can make available various shortcuts to programs, folders, or whatever. It's so universally available through the context menu (right click).
The trick is to stick our batch file (or a shortcut to it) in the menu.
With XP, it's easy to add to the "SendTo" directory located in the user's directory in the 'Documents and Settings' directory.
With Windows 7 (and maybe Vista):
The directory is located here:
C:\Users\[username]\AppData\Roaming\Microsoft\Windows\SendTo
You need full permissions to that folder to be able to copy a shortcut or file.
DIRECTORY of XnView:
Similarly with Windows 7 there is a peculiarity.
Xnview will be (pending a 64bit version) in the directory
"C:\Program Files(x86)\XnView\".
Remember to change this path - even if you do a default installation.
Compatible with: 2.1, 2.0
New languages: Français [FR] Total : 1
Utilitaire de conversion de vos photos vers l'arborescence nécessaire aux galeries de Piwigo.
Il utilise le logiciel "nconvert" de Pierre Cougelet.
Le maniement est voulue pour être ultra-simple, l'adaptation à chaque besoin également par édition du fichier "crearbo_piwigo.bat".