If you just want the path to the original file you can use file_create_url() like this:
if ($node = menu_get_object()) {
if ($items = field_get_items('node', $node, 'field_image')) {
$variables['field_image_path'] = file_create_url($items[0]['uri']);
}
}
Note that I've done away with some redundant if statements, the extra node_load (the get object call already loads the node) and the building of the node content.
If you want to use an image style insead of the original image you can use image_style_url() like this:
if ($node = menu_get_object()) {
if ($items = field_get_items('node', $node, 'field_image')) {
$variables['field_image_path'] = image_style_url('style_name', $items[0]['uri']);
}
}
If you wanted to get the image style from the content type display settings you can do this using field_info_instance() like this (this example assumes a content type called "article" and a display mode of "default"):
if ($node = menu_get_object()) {
if ($items = field_get_items('node', $node, 'field_image')) {
// Set a default style name as fallback.
$image_field_style = 'original';
// Use the image style from the field settings if we have it.
if ($image_field_instance = field_info_instance('node', 'field_image', 'article')) {
if (isset($image_field_instance['display']['default']['settings']['image_style'])) {
$image_field_style = $image_field_instance['display']['default']['settings']['image_style'];
}
}
$variables['field_image_path'] = image_style_url($image_field_style, $items[0]['uri']);
}
}