Hello,
I would like to pass an image to a template dynamically to avoid any file
writes. I convert the image to a StringIO and get the value. I wanted to
pass that into a context object and simply display it like below:
image src='$c.imageobject'/
Having a royal time on doing this and
Le 07/09/2014 17:42, 'gazza' via pylons-discuss a écrit :
Hello,
I would like to pass an image to a template dynamically to avoid any
file writes. I convert the image to a StringIO and get the value. I
wanted to pass that into a context object and simply display it like below:
image
Yes thats the way I went with this make it inline and base64 encoded. All
good.
Really appreciate the direction on this.
Thanks,
Gazza
On Sunday, September 7, 2014 8:57:02 AM UTC-7, Eldav wrote:
Le 07/09/2014 17:42, 'gazza' via pylons-discuss a écrit :
Hello,
I would like to pass