Trent Wyman


Drupal Imagecache applied to an image field

Categories:

Here is an example of applying a Drupal Imagecache preset to the output of an imagefield within a .tpl file.

Example:

<?php print theme('imagecache', 'preset_name_here',$node->field_my_image[0]['filepath']);?>


Announcements

DrupalCon Denver 2012 - I'm Going!

Press Release:
Michael C. Carlos Museum

Read the press release announcing the Drupal redesign of Emory University's Michael C. Carlos Museum. View Press Release