CodeIgniter Forums
Using CodeIgniter to Generate a Forum Signature - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived General Discussion (
+--- Thread: Using CodeIgniter to Generate a Forum Signature (/showthread.php?tid=27778)

Using CodeIgniter to Generate a Forum Signature - El Forum - 02-20-2010

Hey guys,
This is my first post so please bare with me if this has been covered already. I've tried scouring the forums and have not found a solution/similar question.

What I am trying to do is allow users to create forum signatures that calls a function in my controller that simply returns an image.

This is my (very simple) Signature controller thus far:

class Signature extends Controller{
        function Signature(){
        function index(){
            return base_url().'assets/images/loading.gif">';

Now what I want this to do when it is called is simply return the image so that it can be used in forum signatures that support the img tag.

In my own forum (for testing purposes), I've tested this out and cannot get it working. The tag is as such:

Is it possible to have this automatically return with the image so that the image path will be recognized by the img tag? I don't know if this is out of scope for CodeIgniter support, but I figured I'd give it a shot to see if anyone has ever tried doing something like this.

Thanks alot for reading! Smile