Answers.Body: <p>A basic option to store a file is to create a custom field of type File.  Not sure how well that plays though with webforms/views but easy enough to try.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-22T22:37:36.173Z
Answers.Text: It would not cause an issue for either Views or Webform. Ie if the workflow is, look at a view, click through to a Webform, add file ... then that would work just fine. if alternatively you need the View or Webform loading the file then i also don't think that is problematic
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-22T16:54:56.093Z
Answers.LastActivityDate: 2018-11-22T16:54:56.093Z
Answers.UserDisplayName: Aidan
Answers.Body: <p>One possibility is to use the Documents extension: <a href="https://civicrm.org/extensions/documents" rel="nofollow noreferrer">https://civicrm.org/extensions/documents</a>. This will allow you to add documents to contacts and show them on a separate tab.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-22T22:33:18.320Z
Answers.Text: Totally recommend this module - has done wonders for us
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-22T22:35:40.913Z
Answers.Text: however from memory it only works if you are using CiviCase doesnt it?. We have scoped out extending it to work purely with Activities but client is hesitating.
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-23T12:32:24.947Z
Answers.Text: I do not think it only works with Cases @petednz-fuzion but I have not seen it since about 2016 :-)
Answers.UserDisplayName: ErikH - CiviCooP
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-22T15:55:04.183Z
Answers.LastActivityDate: 2018-11-22T15:55:04.183Z
Answers.UserDisplayName: ErikH - CiviCooP
Answers.Body: <p>If you use webform and views, create a custom field in CIVIcrm, an image field, it will then be available from the Webform interface to be added. </p>
  
  <p>Then select that particular field to be displayed on the view.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-25T09:11:02.623Z
Answers.Text: Thank you all ; I actually use Webform and Views, but did not know that it was so simple. Unfortunately, I can only click one answer, but all of them are useful.
Answers.UserDisplayName: Jacques-Marie Moranne
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-25T18:38:01.337Z
Answers.Text: Hi Jacques - yes you can only 'accept' on answer but you should be able to +1 all of them
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-24T02:42:42.257Z
Answers.LastActivityDate: 2018-11-24T02:42:42.257Z
Answers.UserDisplayName: Bruno  Vincent
Body: <p>One can attach a file to an Activity, but is it possible to attach a file to a Contact ? How ?</p>
  
  <p>Then, if the file is an image (jpg or png, ...) how to display it ?</p>
  
  <p>(I am using CiviCRM/Drupal + Webform + Views)</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-11-22T22:37:51.330Z
Comments.Text: Where do you want the image to be displayed?
Comments.UserDisplayName: petednz - fuzion
Tags: <files>
Title: How to attach a File to a Contact?
ThreadText: # How to attach a File to a Contact?
  
  (Asked by: username_0 on 2018-11-22)
  
  One can attach a file to an Activity, but is it possible to attach a file to a Contact ? How ?
  
  Then, if the file is an image (jpg or png, ...) how to display it ?
  
  (I am using CiviCRM/Drupal + Webform + Views)
  
  **Tags:** files
  
  > **Comments:**
  > **username_1**: Where do you want the image to be displayed?  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_4 on 2018-11-24. Score: 0 | Accepted answer
  
  If you use webform and views, create a custom field in CIVIcrm, an image field, it will then be available from the Webform interface to be added.
  
  Then select that particular field to be displayed on the view.
  
  > **Comments:**
  > **username_0**: Thank you all ; I actually use Webform and Views, but did not know that it was so simple. Unfortunately, I can only click one answer, but all of them are useful.  
  > **username_1**: Hi Jacques - yes you can only 'accept' on answer but you should be able to +1 all of them  
  
  ---
  
  ### Answer by username_2 on 2018-11-22. Score: 4
  
  A basic option to store a file is to create a custom field of type File. Not sure how well that plays though with webforms/views but easy enough to try.
  
  > **Comments:**
  > **username_1**: It would not cause an issue for either Views or Webform. Ie if the workflow is, look at a view, click through to a Webform, add file ... then that would work just fine. if alternatively you need the View or Webform loading the file then i also don't think that is problematic  
  
  ---
  
  ### Answer by username_3 on 2018-11-22. Score: 4
  
  One possibility is to use the Documents extension: <https://civicrm.org/extensions/documents>. This will allow you to add documents to contacts and show them on a separate tab.
  
  > **Comments:**
  > **username_1**: Totally recommend this module - has done wonders for us  
  > **username_1**: however from memory it only works if you are using CiviCase doesnt it?. We have scoped out extending it to work purely with Activities but client is hesitating.  
  > **username_3**: I do not think it only works with Cases @petednz-fuzion but I have not seen it since about 2016 :-)  
  
  ---
  
  