Answers.Body: <p>Ok have worked this one out... was very much a "DOH!" moment... there is a section called Replacement Patterns under the ReWrite section - which is collapsed by default and can be overlooked which had the taken information.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-22T14:17:35.160Z
Answers.LastActivityDate: 2017-11-22T14:17:35.160Z
Answers.UserDisplayName: Mo-ster
Body: <p>I am wonder whether someone can help explain how to use the Override feature for CiviCRM fields in views.  For example, I have a field in Civi which is a file field... when i add it to a view it shows the URL to the image... I assume I can select the field in question and then when it opens the configuration window for the field:</p>
  
  <p><a href="https://i.sstatic.net/oRIaa.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/oRIaa.png" alt="enter image description here"></a></p>
  
  <p>Select over ride and in the text area write something like</p>
  
  <pre><code> &lt;img src=['token for the field']&gt; 
  </code></pre>
  
  <p>for it to render the image is this correct and if it is how would i workout what needs to be placed in the ['token for the field'] portion of the string?</p>
  
Tags: <drupal><civireport><drupal-views><tokens>
Title: Drupal Views using over ride feature with civicrm fields - token
ThreadText: # Drupal Views using over ride feature with civicrm fields - token
  
  (Asked by: username_0 on 2017-11-22)
  
  I am wonder whether someone can help explain how to use the Override feature for CiviCRM fields in views. For example, I have a field in Civi which is a file field... when i add it to a view it shows the URL to the image... I assume I can select the field in question and then when it opens the configuration window for the field:
  
  [![enter image description here](https://i.sstatic.net/oRIaa.png)](https://i.sstatic.net/oRIaa.png)
  
  Select over ride and in the text area write something like
  
  ```
   <img src=['token for the field']> 
  
  ```
  
  for it to render the image is this correct and if it is how would i workout what needs to be placed in the ['token for the field'] portion of the string?
  
  **Tags:** drupal, civireport, drupal-views, tokens
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2017-11-22. Score: 1
  
  Ok have worked this one out... was very much a "DOH!" moment... there is a section called Replacement Patterns under the ReWrite section - which is collapsed by default and can be overlooked which had the taken information.
  
  
  ---
  
  