How to insert html tag "id" in an image field in a view
Searching for typeof="foaf:image" I found that was set by rdf module preprocess_image, not in views. Therefore I added a preprocess function

function MYTHEME_preprocess_image(&amp;variables){
  // compute first MY_UNIQUE_ID
  $variables['attributes']['id'] = array('MY_UNIQUE_ID');
}


now it works.