After upgrading to 1.5 all cache files for zpArdoise are being regenerated. I have hundreds of albums with existing image sizes still intact but after upgrading new cache files are generated for all thumbnails and other image sizes. Not alteration has been done to zpArdoise theme before or after upgrade.
The topic title is a bit misleading as we have several kinds of cache files :-)
But yes there had been a rather minor change within the image processor that may result in a differetn naming of default sizes. After clearing the cache all should re-generate.
Sorry,
it's just the cache files related to images. I did look at the naming of the files and suspect that is where the change occurred. The problem is my host processing seems to take forever to generate new cache files. I originally generated all my cache files locally using xampp, and then uploaded them to my server. I think I have over 15,000 images. (Family photo album, for a family with three professional shooters going back 22 years). I use the cache generator within ZP each time I create a new album which is fine, but this change appears to have affected over 15,000 images (of which many have multiple images sizes in the cache, for desktop, mobile, etc.). That code change may have created quite a headache for users with many images.
Here is an example of the changes to the file naming convention, within the cache, for the same image, which is causing the regeneration of cached images. I see that the letter "c" is used on all old cached images in the file naming convention, but not the new.
Old:
Harbour Island.12.11.08_85_cw85_ch85_thumb.jpg
New:
Harbour Island.12.11.08_85_w85_h85_thumb.jpg
Yep, that is the change. It only applies to default sizes from the theme options like thumbs and sized images. I don't remember the actual details off hand anymore but it was a bug fix related to non consistent cache file names. I am sorry for the trouble this cause you.
I am still having problems with this issue. I upgraded my Xampp install to regenerate the thousands of cache files needed for my site. But now find that it is impossible to get cachemanger to generate the proper thumbnails. When I force cachemanager to generate the _85_w85_h85_thumb naming convention, the thumbs are distorted. This is a thumb used by gallerific in the zpArdoise theme. As far as I can tell no other thumb uses this naming convention where this change is occurring.
Old:
Harbour Island.12.11.08_85_cw85_ch85_thumb.jpg
New:
Harbour Island.12.11.08_85_w85_h85_thumb.jpg
I'm getting a little concerned about the lack of supported themes for ZP, and the subsequent issues with unsupported themes. ZP is superb CMS, but seems to be slowly losing a robust development community.
FYI: Godaddy throttles my CPU on shared hosting platform when I try to generate too many cache files on their platform. Hence the need to generate in bulk locally and upload a ZIP, which works fairly well, when doing large volume.
If I were to change themes this would be an absolute requirement. Godaddy server seems to be very slow at generating cache images on the fly sometimes, but works fine if I generate cache files for under, say 100 images, using cachmanager. Anything over that and I need to generate locally.
I'm getting a little concerned about the lack of supported themes for ZP,
Yes, indeed, the lack of third party themes and plugins sadly has always been a problem actually.
Themes cannot choose any naming convention as that is generated by the core image processing functions by the sizes requested.
To use the cache manger themes best should register the required sizes via the theme options (although it can be done manually). zpGallerffic for sure does not do that since it is not even supported by its developer (and the galleriffic script itself is also rather dead to my knowledge). I don't even know if it registers anything at all.
For zpArdoise l @vincent3569 surely can answer better.
I will never exclude that there is a bug somewhere. Are the thumbs itself distored or just the display in the theme? (just asking…;-))
So basically you want 85x85px cropped thumbs, right? I will try to reproduce that with zpArdoise
zpGallerffic for sure does not do that since it is not even supported by its developer (and the galleriffic script itself is also rather dead to my knowledge). I don't even know if it registers anything at all.
Just realize that zpArdoise uses Gallerfic, so this is nonsense ;-)
I see the last update for zpArdoise seems to be from 2017 so maybe he didn't yet implement the new functions for the cache manager registering of (default) sizes/crops. Those were actually added to the cacheManager plugin with his collaboration.
On the theme's themeoptions.php line 61 there is cacheManager::addThemeCacheSize($me, 85, NULL, NULL, 85, 85, NULL, NULL, true);
Try to change that to
cacheManager::addThemeCacheSize($me, 85, 85, 85, 85, 85, NULL, NULL, true); or cacheManager::addThemeCacheSize($me, 85, 85, 85, NULL, NULL, NULL, NULL, true); to see if it works then.
If already on 1.5. you can also use cacheManager::addThemeDefaultThumbSize($me); for thumbs and cacheManager::addThemeDefaultSizedImageSize($me); for sized images as set on the theme options.