Posted By

daipratt on 01/21/10


Tagged

drupal theme cck


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

EkTrOn
Onfire60
tronx


Drupal - Get the image path of a CCK field from the fid


 / Published in: Other
 

  1. $file = field_file_load($node->website_logo_fid);
  2. $output .= "<p><img src=\"".$file['filepath']."\" alt=\"\" /></p>";

Report this snippet  

You need to login to post a comment.