Or, split the dynamic image creation into it's own cgi script, and have
your HTML template just point to that script:

<img src="http://my.website.org/cgi-bin/images.cgi?<tmpl_loop params><tmpl_var 
name>=<tmpl_var value>;</tmpl_loop>">

Could probably toss in some form of HTML::Template url escaping, but I've
never used those so I don't know what the syntax is off the top of my
head.

-Aaron

On Thu, 24 Jul 2003, Adam Gent wrote:

> Hi All,
>
> I am wanting to use the perl GD library to generate dynamic images.
>
> I was wondering what the best way was to do this with HTML template, as the
> output mask.
>
> In the testing I have done without HTML template, I can do print $image->png
> which will output the image to the screen.
>
> Is there any easy way to do this with HTML::Template or will it be a matter
> of having to save the image to disk and then pass that to the template?
>
> Any ideas?
>
> Thanks,
>
> Adam
>
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.502 / Virus Database: 300 - Release Date: 20/07/2003
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> _______________________________________________
> Html-template-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/html-template-users
>

-- 
 Aaron J Mackey
 Pearson Laboratory
 University of Virginia
 (434) 924-2821
 [EMAIL PROTECTED]




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to