Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#169 Today 00:55:50

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,213
Website GitHub

Re: Automatic thumbnails for Textpattern

jakob wrote #341734:

this fix in a fork any help perhaps?

I fully expect so. We should roll that change in and see if it fixes anything. Then worry about doing the same for the other transparent formats.

Good find, thank you.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#170 Today 00:59:41

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,213
Website GitHub

Re: Automatic thumbnails for Textpattern

Btw, I fixed the garbage collector but haven’t (yet) exposed the timeout length to config.php. I’ll do that in the morning.

In the meantime, if you want to test this to check stuff gets deleted with short expiration times you’ll have to hack the SLIRConfigDefaults.php file and set the cache time to some number of seconds you want to test.

Bear in mind the collector only runs on a percentage basis so you might also want to increase the numerator value in the config file too (it’s documented well).


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB