You can get the image/file path by fid using the field_flie_load() function.
1 2 3 4 5 6 7 8 | <?php // Load the node with nid = 10 $display_node = node_load(10); // Load the file by fid
$file = field_file_load( $display_node ->field_file[0][ 'fid' ]); // print the relative file path print $file [ 'filepath' ]; ?> |
Done =)