How to attach a File to a Contact?












2















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)










share|improve this question























  • Where do you want the image to be displayed?

    – petednz - fuzion
    Nov 22 '18 at 22:37
















2















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)










share|improve this question























  • Where do you want the image to be displayed?

    – petednz - fuzion
    Nov 22 '18 at 22:37














2












2








2








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)










share|improve this question














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)







files






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 22 '18 at 15:45









Jacques-Marie MoranneJacques-Marie Moranne

892312




892312













  • Where do you want the image to be displayed?

    – petednz - fuzion
    Nov 22 '18 at 22:37



















  • Where do you want the image to be displayed?

    – petednz - fuzion
    Nov 22 '18 at 22:37

















Where do you want the image to be displayed?

– petednz - fuzion
Nov 22 '18 at 22:37





Where do you want the image to be displayed?

– petednz - fuzion
Nov 22 '18 at 22:37










3 Answers
3






active

oldest

votes


















0














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.






share|improve this answer
























  • 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.

    – Jacques-Marie Moranne
    Nov 25 '18 at 9:11













  • Hi Jacques - yes you can only 'accept' on answer but you should be able to +1 all of them

    – petednz - fuzion
    Nov 25 '18 at 18:38



















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.






share|improve this answer
























  • Totally recommend this module - has done wonders for us

    – petednz - fuzion
    Nov 22 '18 at 22:33











  • 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.

    – petednz - fuzion
    Nov 22 '18 at 22:35













  • I do not think it only works with Cases @petednz-fuzion but I have not seen it since about 2016 :-)

    – ErikH - CiviCooP
    Nov 23 '18 at 12:32



















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.






share|improve this answer
























  • 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

    – petednz - fuzion
    Nov 22 '18 at 22:37











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "605"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcivicrm.stackexchange.com%2fquestions%2f27453%2fhow-to-attach-a-file-to-a-contact%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























3 Answers
3






active

oldest

votes








3 Answers
3






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














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.






share|improve this answer
























  • 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.

    – Jacques-Marie Moranne
    Nov 25 '18 at 9:11













  • Hi Jacques - yes you can only 'accept' on answer but you should be able to +1 all of them

    – petednz - fuzion
    Nov 25 '18 at 18:38
















0














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.






share|improve this answer
























  • 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.

    – Jacques-Marie Moranne
    Nov 25 '18 at 9:11













  • Hi Jacques - yes you can only 'accept' on answer but you should be able to +1 all of them

    – petednz - fuzion
    Nov 25 '18 at 18:38














0












0








0







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.






share|improve this 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.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 24 '18 at 2:42









Bruno VincentBruno Vincent

27810




27810













  • 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.

    – Jacques-Marie Moranne
    Nov 25 '18 at 9:11













  • Hi Jacques - yes you can only 'accept' on answer but you should be able to +1 all of them

    – petednz - fuzion
    Nov 25 '18 at 18:38



















  • 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.

    – Jacques-Marie Moranne
    Nov 25 '18 at 9:11













  • Hi Jacques - yes you can only 'accept' on answer but you should be able to +1 all of them

    – petednz - fuzion
    Nov 25 '18 at 18:38

















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.

– Jacques-Marie Moranne
Nov 25 '18 at 9:11







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.

– Jacques-Marie Moranne
Nov 25 '18 at 9:11















Hi Jacques - yes you can only 'accept' on answer but you should be able to +1 all of them

– petednz - fuzion
Nov 25 '18 at 18:38





Hi Jacques - yes you can only 'accept' on answer but you should be able to +1 all of them

– petednz - fuzion
Nov 25 '18 at 18:38











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.






share|improve this answer
























  • Totally recommend this module - has done wonders for us

    – petednz - fuzion
    Nov 22 '18 at 22:33











  • 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.

    – petednz - fuzion
    Nov 22 '18 at 22:35













  • I do not think it only works with Cases @petednz-fuzion but I have not seen it since about 2016 :-)

    – ErikH - CiviCooP
    Nov 23 '18 at 12:32
















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.






share|improve this answer
























  • Totally recommend this module - has done wonders for us

    – petednz - fuzion
    Nov 22 '18 at 22:33











  • 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.

    – petednz - fuzion
    Nov 22 '18 at 22:35













  • I do not think it only works with Cases @petednz-fuzion but I have not seen it since about 2016 :-)

    – ErikH - CiviCooP
    Nov 23 '18 at 12:32














4












4








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.






share|improve this answer













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.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 22 '18 at 15:55









ErikH - CiviCooPErikH - CiviCooP

8,817519




8,817519













  • Totally recommend this module - has done wonders for us

    – petednz - fuzion
    Nov 22 '18 at 22:33











  • 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.

    – petednz - fuzion
    Nov 22 '18 at 22:35













  • I do not think it only works with Cases @petednz-fuzion but I have not seen it since about 2016 :-)

    – ErikH - CiviCooP
    Nov 23 '18 at 12:32



















  • Totally recommend this module - has done wonders for us

    – petednz - fuzion
    Nov 22 '18 at 22:33











  • 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.

    – petednz - fuzion
    Nov 22 '18 at 22:35













  • I do not think it only works with Cases @petednz-fuzion but I have not seen it since about 2016 :-)

    – ErikH - CiviCooP
    Nov 23 '18 at 12:32

















Totally recommend this module - has done wonders for us

– petednz - fuzion
Nov 22 '18 at 22:33





Totally recommend this module - has done wonders for us

– petednz - fuzion
Nov 22 '18 at 22:33













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.

– petednz - fuzion
Nov 22 '18 at 22:35







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.

– petednz - fuzion
Nov 22 '18 at 22:35















I do not think it only works with Cases @petednz-fuzion but I have not seen it since about 2016 :-)

– ErikH - CiviCooP
Nov 23 '18 at 12:32





I do not think it only works with Cases @petednz-fuzion but I have not seen it since about 2016 :-)

– ErikH - CiviCooP
Nov 23 '18 at 12:32











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.






share|improve this answer
























  • 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

    – petednz - fuzion
    Nov 22 '18 at 22:37
















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.






share|improve this answer
























  • 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

    – petednz - fuzion
    Nov 22 '18 at 22:37














4












4








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.






share|improve this answer













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.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 22 '18 at 16:54









AidanAidan

5,969426




5,969426













  • 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

    – petednz - fuzion
    Nov 22 '18 at 22:37



















  • 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

    – petednz - fuzion
    Nov 22 '18 at 22:37

















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

– petednz - fuzion
Nov 22 '18 at 22:37





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

– petednz - fuzion
Nov 22 '18 at 22:37


















draft saved

draft discarded




















































Thanks for contributing an answer to CiviCRM Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcivicrm.stackexchange.com%2fquestions%2f27453%2fhow-to-attach-a-file-to-a-contact%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Futebolista

Feedback on college project

Albești (Vaslui)