Member
Member
divinorum   2016-04-08, 15:23
#1

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.
Ivan

Administrator
Administrator
acrylian   2016-04-08, 15:32
#2

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.

Member
Member
divinorum   2016-04-08, 16:43
#3

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.
Ivan

Administrator
Administrator
acrylian   2016-04-08, 16:53
#4

There is still a cache button on each album edit page for that.

Member
Member
divinorum   2016-04-08, 18:57
#5

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 ?

Member
Member
divinorum   2016-04-08, 18:59
#6

OK, just found it, sorry. I need to open "edit multiple albums" to see the button, many thanks !

Administrator
Administrator
acrylian   2016-04-08, 19:18
#7

Not sure what you mean, the button should be on the "single album edit page":
http://www.zenphoto.org/test/album-cache-button.jpg.html

Member
Member
divinorum   2016-04-09, 13:19
#8

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.

Member
Member
divinorum   2016-04-09, 16:26
#9

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
NEW thumb: /2015/albumName/thumb.jpg

Administrator
Administrator
acrylian   2016-04-10, 15:09
#10

Actually there should only be the filename set if the album thumb is set static from the album itself or /subalbum(s)/filename if from one of its subalbums.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.