the problem is actually only in the cache manager as everything works fine but the image isn't saved:
The call, that worked ok using phpTumb to manage cache is
<img class="img-mid" src="[[+tv.img_midTV:phpthumbof=`
&w=230
&h=363
&f=png
&fltr[]=ric|11|18
`]]" alt="dot2" width="230" height="363" />
After changing the system setting to allow pThumb to manage cache this error appeared in the log and the image is not cached:
[2014-07-20 13:36:19] (ERROR @ /index.php) [pThumb] Resource: 1 || Image: assets/images/carousel/telang_mid.png
Could not cache thumbnail to file at: /home/fd000507/public_html/assets/image-cache/images/carousel/telang_mid.b51ece24.png
Resizer debug output:
[0] => Resizer v1.0.1
[1] => Using GD
[2] => Input file: assets/images/carousel/telang_mid.png
[3] => Input options:
'
____________' => '',
'w' => '230
',
'h' => '363
',
'f' => 'png
',
'fltr' =>
array (
0 => 'ric|11|18
',
)
[4] => *** Error *** Saving image in "png
" format is not supported, please use one of the following extensions: "gif", "jpeg", "png", "wbmp", "xbm"
----------------------
I see the arguments are parsed as everything going between = and the next &. Thus, the format, instead of being "png" is
"png
"
with all the spaces
putting everything in just one line without spaces, solves this but my code gets a little less maintainable...
Hugs, Abner
[ed. note: magic_creations last edited this post 9 years, 9 months ago.]