Get image or file path from image id (fid) - Drupal code snippet

$file = field_file_load($s->node_data_field_image_field_image_fid); 
print_r($file['filepath']);

 

Credit: Found the solution here.

there is no function named in

there is no function named in drupal6 API field_file_load()

Geplaatst door:cp (niet gecontroleerd)

Nieuwe reactie inzenden

De inhoud van dit veld is privé en zal niet openbaar worden gemaakt.

Reacties