splittingred/phpThumbOf — Issue #33: Overriding cachePath and cachePathUrl not working
Author: bertoost
Created: 2012-02-01 13:16:51+00:00
State: open

Because the $config array isn't merged with the $this->config. Please fix! :-)

I use phpthumbof like this

[[!phpthumbof?
&input=`[[+photo]]`
&options=`w=115&h=125&zc=1&q=100`
&cachePath=`[[+assets_path]]components/extendeduser/cache/[[+modx.user.id]]/`
&cachePathUrl=`assets/components/extendeduser/cache/[[+modx.user.id]]/`
]]

Just added ", $config" to the array_merge() on line 38 of the latest phpthumbof

Now it is working great!