stuck with sending header('Content-type: image/jpeg') to my external view file |
[eluser]ladooboy[/eluser]
Hi guys, I have a view template structre. My Base-Controller does following: Code: function template($data = NULL){ My local controller does: Code: ...... The problem is, I need to send this image to my actual view, which has all the input fields and submit buttons. Currently it creates an image on a empty page without any buttons or input fields. Any idea how to implement this into the template view ?
[eluser]vitoco[/eluser]
you can send the image as base64 encoded data base64 for IE | WIKI data uri scheme Saludos
[eluser]ladooboy[/eluser]
Hi ! Thanks for the info. I've already decided to use the codeigniter captcha function and this one works. Only problems are the images which are being created on fs. I thought I could just create the image and display it without saving it to the harddisk. But looks like I have to deal with it. |
Welcome Guest, Not a member yet? Register Sign In |