|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
jbardet Smarty n00b
Joined: 23 Jun 2003 Posts: 3
|
Posted: Mon Jun 23, 2003 8:38 am Post subject: post an image |
|
|
Hello!
In my php part I created an image which I would like to show in the .tpl by using image handle. And I don't find any function in the manual which do it.
Thanks |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
Posted: Wed Jun 25, 2003 5:40 am Post subject: |
|
|
You would still have to do what you always do: send appropriate image headers to the client and then dump the binary data (of course, it would be on a different client connection than the webpage itself).
Any introductory GD example will step you through the process. I am not aware of any existing template functionality or custom plugins/templates that already do that.
HTH |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|