This will work.
<img src="<?php echo $this->url(array('controller' =>
'your_controller', 'action'=> 'your_action')); ?>" alt="barcode" />

scs

On Wed, Oct 20, 2010 at 11:32 AM, Vincent de Lau <[email protected]> wrote:
>>Van: Laurens van Vliet [mailto:[email protected]]
>
>> ...
>>  <div>
>>    <?php echo $this->action('barcode', 'label', null, array()); ?>
>>  </div>
>> ...
>
>
> This is probably not what you want... The action helper (labeled as evil)
> includes the output of another action inside the view.
>
> You would want somthing like
>
> <img src="<?php echo $this->action(array('controller' => 'barcode', 'action'
> => 'label', 'default'); ?>" alt="barcode" />
>
> Vincent de Lau
>  [email protected]
>
>

Reply via email to