Yep, pretty close.
You can either add a view with
[php]
<?php echo $this->imagen; ?>
[/php]
in it to output the contents of the image, or disable view rendering with
[php]
$this->_helper->viewRenderer->setNoRender();
[/php]
and echo from the controller.
or moving everything you have there into the view (leaving the controller empty) would be another (possibly better?) option.


LinkBack URL
About LinkBacks



Reply With Quote


