SHARE
TWEET

Untitled

a guest Feb 9th, 2013 17 Never
  1. echo $this->Html->image("recipes/6.jpg", array(
  2.     "alt" => "Brownies",
  3.     'url' => array('controller' => 'recipes', 'action' => 'view', 6)
  4. ));
  5.        
  6. <a href="/recipes/view/6">
  7.     <img src="/img/recipes/6.jpg" alt="Brownies" />
  8. </a>
  9.        
  10. <a href="/recipes/view/6" class='picture'>
  11.     <img src="/img/recipes/6.jpg" alt="Brownies" />
  12. </a>
  13.        
  14. <?php echo $this->Html->link(
  15. $this->Html->image("loading.gif", array('alt' => 'Brownies', 'border' => '0')),
  16. array('controller' => 'recipes', 'action' => 'view', 6),  array('class' => 'picture', 'escape' => false));
  17.        
  18. echo $this->Html->link(
  19.     $this->Html->image("recipes/6.jpg", array('alt' => 'Brownies')),
  20.     array('controller' => 'recipes', 'action' => 'view', 6, array('escape'=>false', 'class'=>'picture')
  21. );
RAW Paste Data
Top