Drupal - Get the image path of a CCK field from the fid
Copy this code and paste it in your HTML
$file = field_file_load($node->website_logo_fid);
$output .= "
<p><img src=\"".$file['filepath']."\" alt=\"\" /></p>";
Report this snippet
Comments
Subscribe to comments