I would like to get the image path of a field. I\'m in a node and I need the Url of image in order to put it as a background-image in inline css. I can\'t find the solution. Can
I sometime use this:
$node = node_load($nid); $img_url = $node->field_userimage['und'][0]['uri'];