I have set up Piwigo so that the photos are held in a directory on the site 'ROOT' outside of the Piwigo directory - so I upload the photos using FTP.
After I synchronise and import the photos, if I go to the new album the generation of the photo thumbnails utilises 100% CPU for a minute or more if I have the number of thumbnails set to 20.
For small albums (ie say 10-20 photos) this is not a problem, but I have some initial albums that have over 50 and in some cases over 100 photos and to generate the thumbnails for these will utilise the CPU for longer than my host would like.
With Piwigo 2.4 on the thumbnails are created and stored in the '_data/i/.....' directory and stored as 'filename_th.jpg'.
Is is possible to create the thumbnails in another way without hogging the cpu - eg on the PC and manually uploading them.
NOTE: I have no access to my gallery for a few days, hence asking the question instead of trying it.
Offline
Hello
indeed, if you are on shared host, you will be limited. Did you host send you a mail? If yes you might consider changing it, because a profetional one have build in limitations (like mine)
And yes you can : there is topic about this
You can create copy of your piwigo locally or generate by a picture software, then upload
Offline
Thanks Flop.
My host did not send me a message - I saw the CPU usage was 100% when I viewed it in my Control Panel whilst Piwigo was loading thumbnails.
So I created the thumbnails on the PC (using FastStone Photo Resizer) and uploaded them.
When I loaded a thumbnail page the CPU still went to 100% in the Control Panel view - so I guess the host has applied some sort of CPU sharing limitation.
I will have to e-mail the host and ask.
Thanks again Flop.
Offline
Sorry for necro-ing this thread, but I got the same issue. Difference is I'm hosting myself. How do I reduce the CPU load of piwigo? Is there a setting to generate the preview images/thumbnails in advance?
Offline