Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#121 Today 17:34:13
Offline
#122 Today 18:02:19
Re: Automatic thumbnails for Textpattern
etc wrote #341672:
Ah. Ok. Reverted it to
$un, which is the last chunk, please test.
Thank you. I’m trying to make the matches more robust now. Tricky…
Thumbnails seem to be generated now, but the deletion still fails. http://localhost/txp/images/thumb/w200-h100/674.jpg
Yes, for it to work your path should (I think) be:
http://localhost/txp/images/thumb/w200-h100/txp/images/674.jpg
I suspect the fact it’s ‘shifted’ across to the right by 1 array index becuase of your subdir isn’t helping here. I thought subdirs were handled but maybe not. Hmmmm.
It’d be nice if we didn’t have to specify the subdir in the final URL path.
Last edited by Bloke (Today 18:11:16)
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
Online
#123 Today 18:16:16
Offline
#124 Today 18:22:19
Re: Automatic thumbnails for Textpattern
I was wondering if we have an /images/ too many in the url? Isn’t the intention to have:
https://domain.com/images/thumb/w200-h100/674.jpg
in a standard (non-subdirectory) installation.
TXP Builders – finely-crafted code, design and txp
Offline
#125 Today 18:33:10
Re: Automatic thumbnails for Textpattern
jakob wrote #341675:
I was wondering if we have an
/images/too many in the url?
Not as it stands. It’s required. But yes, I think I’ll hack SLIR to remove the reliance on the full path at the end, if I can. It’s seriously annoying.
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
Online