Can you really write extra time for joomla or apply certain existing wordpress plugin much like jumi to have the ability to render for example a png image however with full use of user data (with JFactory)? Quite simply today it's no problem to produce a php script that renders a public image according to parameters passed. But when I wish to access user data and appearance wether the consumer drenched in or otherwise it might be an issue.

You will need to produce a component (or part of one) that utilizes format=raw within the query string. You'll should also make use of the JDocument resist set the MIME type to image/png. To get this done, produce a view within the component known as image (or whatever you would like). Then, rather than developing a view.html.php file, create view.raw.php. Within that file, add code such as this:


defined( '_JEXEC' ) or die;

jimport( 'joomla.application.component.view');

class YourcomponentnamehereViewImage extends JView
    public function display($tpl = null)
    	$document =& JFactory::getDocument();

    	// your image processing & output here

You need to do not need to produce a tmpl folder with default.php as you are not outputting any markup.

I think that you could do. I personally don't like not getting anything around me to become certain, but off the top my mind (and it is been some time!) I believe you are searching for 'raw output'.

You need to have the ability to add something around the URL's query string to manage the creation of the Joomla 'stuff' that's not your code exactly. From things i remember, you have to add something similar to '&output=raw&no_html=1' towards the query string.

Hopefully which will a minimum of enable you to get somewhere...

Because of all solutions, especially jlleblanc. With the aid of them I wound up having a solution using existing well-known extension(s).

All we want is any ingredient that produces php-output. I attempted with Jumi, but additionally it will use every other.

We create a product in Jumi component (in Jumi Programs Manager ) that creates a picture, for instance filled rectangle

     defined( '_JEXEC' ) or die( 'Restricted access' );

     $im = imagecreatetruecolor(300, 200);

     $bkgcolor = imagecolorallocate($im, 134, 134, 134);
     imagefilledrectangle($im, 0, 0, 300, 200, $bkgcolor);

     $document =& JFactory::getDocument();


After adding based on the component rule there exists a connect to this component item

Where fileid=3 may be the string according to actual id from the item When we only use this url because it is we'll get usual Joomla layout with altered page showing png stream as text (not too aesthetically comfort really), but just a little trick "format=raw" in the finish can give us the end result that people need.

That's all. Next the right image is displayed within the browser. Many thanks