I recently updated a site to 2.2.16 and found that the pThumb filters that have always worked, suddenly stopped working. I see the image (the cached and cropped version), but without the filter. After a lot of testing I found that the wmi filter DOES work, but a lot of others don't. For this site in particular the mask filter stopped working.
Both codes below don't have the mask:
<img src="[[+tv.itemImage=`&f=png&w=336&h=195&zc=1&fltr=mask|assets/templates/images/contentpage-img-mask.png`]]" alt="" width="336" height="195" />
The debug says:
[2015-02-27 16:24:02] (ERROR @ /index.php) [pThumb] Resource: 397 || Image: /home/mydomain/domains/mydomain.nl/public_html/bestanden/051308_mg_9660.jpg
:: Processed ::
Resizer debug output:
 => Resizer v1.0.1
 => Using GD
 => Input options:
0 => 'mask|assets/templates/images/contentpage-img-mask.png',
'f' => 'png',
'w' => '336',
'h' => '195',
'zc' => '1'
 => Original - w: 3504 | h: 2336 (8.19 MP)
 => New - w: 336 | h: 224
 => ZC - start: (0, 14) | box: 336x195 px
 => Wrote /home/mydomain/domains/mydomain.nl/public_html/bestanden/image-cache/051308_mg_9660.03e0be69.png
 => Dimensions: 336x195 px
 => Execution time: 1330 ms
there is no mention at all of the processing of the filter. When I try with the wmi filter it does show up in the debug lines.
I also uploaded the phpThumb demos and tests and all is ok, GD is running 'bundled (2.0.34 compatible)'.
I'm running out of ideas how to fix this.. Hope someone on this forum knows what could be going on.
I did see some bugfixes in the changelog for phpThumb, could that be related?
This is a big problem for my client because the site looks bad now without the filters.
Thanks for any help!