Hi, is there a way to run thumbnail create/update script for all needed pictures in gallery from bahs shell? There is a problem with thumb generation page, because it tries to load all my pictures without thumbs into this page and hangs the browser (25k pics). Thanks
Hi,
so you use FTP upload ? you can use one of these tools (all for windows)
[extension by mistic100] PHP Optimisateur
[extension by Gotcha] Batch Optimisateur
[extension by tieum] batch_all
and some other available in http://piwigo.org/ext/, in "Tools" category
Offline
Thank you for links, yes, I used FTP-like method, just added my gallery to piwigo gallery folder and used sync.
I was not able to use any of this solutions, most of them is for windos or just on French, and none of them have the only one function: thumb creation. just tu type #script.sh gallerydir and get all thubms created. If there is no working solution for this, I'll write this script. Just let me know. Thanks.
BTW batch_all is not working with dirnames/filenames with spaces. Should be quoted.
I think I can write needed script like thumb_gen.sh based on this batch_all, but which would do next:
1. Work on given dir, for example:
galleries/Album_name, check thumbs dir already exists, if yes, exit, if no - create it and start making thumbs recursively.
2. write log or just STDOUT, with information about current working dir, errors, etc.
3. count all worked pictures, done thumbs, errors.
4. write summary on exit.
Let me know what do you think about this before I begin.