![]() |
|
Trigger thumbs pre-cache from admin - 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: Trigger thumbs pre-cache from admin (/thread-12491.html) |
Trigger thumbs pre-cache from admin - divinorum - 2016-04-08 Hi, In older versions, there was an possiblity to pre-cache all thumbnails for selected abulm using one button (image) in the admin's album list. Seems, that now it's gone. Is there any possibility to re-enable it, or it's replaced by something else ? If yes, by what ? Many thanks. Trigger thumbs pre-cache from admin - acrylian - 2016-04-08 It is available via the cacheManager plugin. Not only thumbs but all default sizes. If you are using a custom theme with custom sizes coded on the theme you need to register the sizes. Trigger thumbs pre-cache from admin - divinorum - 2016-04-08 Thank's Acrylian, I found that one, but that seems to run for whole gallery.. which contains nearly 11.000 imnages now.. so.. I simply can't run that at once Is there any possibility to run cacheing per-partes (per album), or this feature has been dropped, please ? Thank you. Trigger thumbs pre-cache from admin - acrylian - 2016-04-08 There is still a cache button on each album edit page for that. Trigger thumbs pre-cache from admin - divinorum - 2016-04-08 Not sure if I get it. Checking the admin - albums, edit.. but can see only "metadata refresh" in album list, which is not creating thumbs, but nothing about cache.. cache plugin is active, so could you please guide me, where to find it ? Trigger thumbs pre-cache from admin - divinorum - 2016-04-08 OK, just found it, sorry. I need to open "edit multiple albums" to see the button, many thanks ! Trigger thumbs pre-cache from admin - acrylian - 2016-04-08 Not sure what you mean, the button should be on the "single album edit page": Trigger thumbs pre-cache from admin - divinorum - 2016-04-09 hmm, that's really strange - I don't have that right column there at all. Edit, ok - you pointed me, just found, som error thrown: b>Fatal error: Invalid album instantiation That's why, let me check that. Trigger thumbs pre-cache from admin - divinorum - 2016-04-09 So, I spent several hours to get the problem itself, and seems, that it's simply incompatibility with legacy data in database. zp_album.thumb was set without master folder path from older code, but newer expecting to has it in within path. OLD thumb: albumName/thumb.jpg Trigger thumbs pre-cache from admin - acrylian - 2016-04-10 Actually there should only be the |