Hello,
I have a QNAP TS-431, with zenphoto installed, and every time I add new photos with hi-resolution (8-15MB files), it takes eternities to create the cached images, and until the images are created, the NAS becomes not accessible. (not via the web interface, and not via SSH, Linux machine)
The guidelines in
http://www.zenphoto.org/news/problems-with-albums-and-images/ did not help
Now, I have other strong desktop computer running Win7, and I was thinking in using it to generate the cached images.
There are many ways to generate the cache images like:
1) Clone the zenphoto installation.
2) Use a photo editing tool in batch mode to generate them.
If I use the second option, What are the naming conventions?
Then, when I copy the cached images back to the QNAP, What should I run in the QNAP after copying the cached images?
Thanks in advance.
Comments
The cached files follow the options of the `zp-core/i.php` image processor. It will be tough to create these filenames on the outside as the names differ on the options set and which theme/plugins you are using. So the basics of the Basic theme are for example:
`_.suffix` for a default sized image like `image_100.jpg`
'<filename>_<size>_cw<cropwidth>_ch<cropheight>_thumb.jpg' for a default thumb like `image_100_cw100_ch100.jpg`
`filename_w_h.jpg` for a custom sized image like `image_w1200_h900.jpg`.
There might be less or more of these url parts as you can combine width/height with cropping and also crop position. Best look at the related template functions exactly what you get on the cache folder (or search the theme etc you use for image functions) and then use that as a guide. Any size you miss will be created by Zenphoto.
You don't need to do anything after uploading these files. Zenphoto will check if there is a cached version of the requested size and use it or otherwise create it. Note that the backend also creates some sizes.
I have the cacheManager running, and for 6 images when trying to generate the "basic" two cached images per image caused my QNAP to go overloaded for already 4 hours.
I'm going to install zenphoto on my desktop, just downloaded bitnami suite, create an identical zenphoto installation and see how it goes, wish me luck
Have a nice weekend.
The only think that catch my eye was a warning in the setup:
`
PHP gettext() support [is not present]
Warning!
Localization of Zenphoto requires native PHP gettext() support
`
Now I'm waiting for the QNAP to end its work and test it.