Return to Snippet

Revision: 23008
at January 27, 2010 16:13 by karmacode


Initial Code
$wow_image_path = theme('imagecache', 'wedding_of_the_week_thumbnail', $imagepath);
  $vars['wedding_of_the_week'][0]->image_thumb = l($wow_image_path, 'node/'.$vars['wedding_of_the_week'][0]->nid, array('html' => TRUE));

Initial URL

                                

Initial Description
Use the l() in Drupal with an array('html' => TRUE) to get a linked image

Initial Title
Creating a linkable image source

Initial Tags
drupal

Initial Language
PHP