dark0s wrote:
> I've the following code:
>
> <tr><td>
>
> [% FILTER null;
>
> USE GD;
>
> img = GD.image('/var/www/upload/savio.jpeg');
> img.jpeg;
>
> END;
> %]
>
> </td></tr>
>
> I have the following questions:
> 1) Why I need FILTER...END block?
> 2) Why I don't have output
If you read the docs for Template::Plugin::GD::Image (which you seem to have
based your code snippet on), it explains why you use the null filter. Also, the
examples in the documentation pipe the "img.jpeg" (or similar) through
stdout(1), which produces the output. You've left that part out.
Randy
--
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Randy J. Ray Sunnyvale, CA http://www.rjray.org [email protected]
Silicon Valley Scale Modelers: http://www.svsm.org
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates