![]() |
|
Generating cached images in a different server? (QNAP with zenphoto 1.4.13) - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Generating cached images in a different server? (QNAP with zenphoto 1.4.13) (/thread-12627.html) |
Generating cached images in a different server? (QNAP with zenphoto 1.4.13) - rbid - 2016-11-19 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:
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. Generating cached images in a different server? (QNAP with zenphoto 1.4.13) - acrylian - 2016-11-19 What you encounter is - as described on the link you mentioned - a problem of server power and memory with large images. There is a cacheManager plugin available to pre-generate these cached images. Of course the same server limits have effect here. And it will only generate those sizes that are registered properly. The cached files follow the options of the 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. Generating cached images in a different server? (QNAP with zenphoto 1.4.13) - rbid - 2016-11-19 Thanks a lot. 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. Generating cached images in a different server? (QNAP with zenphoto 1.4.13) - rbid - 2016-11-19 Update, all the install works, I'm able to generate the cached images (with the same names than in my overloaded QNAP). The only think that catch my eye was a warning in the setup: Generating cached images in a different server? (QNAP with zenphoto 1.4.13) - acrylian - 2016-11-20 Glad to hear it generally worked out. That is a warning you can ignore if you don't intend to use Zenphoto in another language than the native (US) English or several languages. See also here: http://www.zenphoto.org/news/multi-lingual-sites/ |