divzero wrote:Hi, yes this should be possible.
Can I clarify what you need:
A directory of images, resized to 800x600.
A sub-directory of this with pictures resized to 128X, with the name "TN-picturename.jpg".
Does the sub-directory have to be a particular name?
Incidently, you can do most of these things already just by editing the current .ini files (e.g. changing the "_thm_" thumbnail prefix to "TN-" in the SPGM exporter). However, I am more than happy to write a special script for phpwebgallery.
Cheers,
Will.
Wahoo! thx !
I have found how to change the prefixe but remember, it's for my mother and I need to automate process.
the most simple I think is she choose a folder who contain big pictures. the export function, made a subfolder in the original folder with the same name. then he rezize the pict to for exemple width 800, height a variable for respecting proportions, dpi screen resolution 72dpi and don't modifiy exif and iptc data. after the export function make a subfolder "thumbnail" and make small pict off width 128 with the prefix TN-
does the export function can replace space caracter by a _ or other particular carracter by other ? (it's not very important)
thx a lot for your works !