View field image path to image src custom

<div style=”background:url(‘<?php echo ‘/sites/default/files/’.file_uri_target($row->field_field_image[0][‘raw’][‘uri’]); ?>‘)”>

Advertisements