I have this code snippet in an email layout:
<div>
<?php echo $this->Html->image('Layouts/default/Logo.png', array(
'alt' => 'Setin SRL',
'url' => $this->Html->url(array('action' => 'index'), true)
)); ?>
</div>
However this is not ok. I can get the FULL url to the website through url(array('action' => 'index'), true)
But I can’t find any paramater that I can set to true for image too. Any suggestion or workaround on how can I do this?
Edit 1:
Basically, I need this link: Layouts/default/Logo.png to become http://www.something.com/Layouts/default/Logo.png in the img src
i always use