How to attach a File to a Contact?











up vote
2
down vote

favorite












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
    yesterday















up vote
2
down vote

favorite












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
    yesterday













up vote
2
down vote

favorite









up vote
2
down vote

favorite











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 yesterday









Jacques-Marie Moranne

863312




863312












  • Where do you want the image to be displayed?
    – petednz - fuzion
    yesterday


















  • Where do you want the image to be displayed?
    – petednz - fuzion
    yesterday
















Where do you want the image to be displayed?
– petednz - fuzion
yesterday




Where do you want the image to be displayed?
– petednz - fuzion
yesterday










3 Answers
3






active

oldest

votes

















up vote
3
down vote













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
    yesterday


















up vote
2
down vote













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
    yesterday










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












  • I do not think it only works with Cases @petednz-fuzion but I have not seen it since about 2016 :-)
    – ErikH - CiviCooP
    14 hours ago


















up vote
0
down vote













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





















    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',
    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








    up vote
    3
    down vote













    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
      yesterday















    up vote
    3
    down vote













    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
      yesterday













    up vote
    3
    down vote










    up vote
    3
    down vote









    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 yesterday









    Aidan

    5,554426




    5,554426












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


















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
















    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
    yesterday




    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
    yesterday










    up vote
    2
    down vote













    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
      yesterday










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












    • I do not think it only works with Cases @petednz-fuzion but I have not seen it since about 2016 :-)
      – ErikH - CiviCooP
      14 hours ago















    up vote
    2
    down vote













    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
      yesterday










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












    • I do not think it only works with Cases @petednz-fuzion but I have not seen it since about 2016 :-)
      – ErikH - CiviCooP
      14 hours ago













    up vote
    2
    down vote










    up vote
    2
    down vote









    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 yesterday









    ErikH - CiviCooP

    8,377519




    8,377519












    • Totally recommend this module - has done wonders for us
      – petednz - fuzion
      yesterday










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












    • I do not think it only works with Cases @petednz-fuzion but I have not seen it since about 2016 :-)
      – ErikH - CiviCooP
      14 hours ago


















    • Totally recommend this module - has done wonders for us
      – petednz - fuzion
      yesterday










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












    • I do not think it only works with Cases @petednz-fuzion but I have not seen it since about 2016 :-)
      – ErikH - CiviCooP
      14 hours ago
















    Totally recommend this module - has done wonders for us
    – petednz - fuzion
    yesterday




    Totally recommend this module - has done wonders for us
    – petednz - fuzion
    yesterday












    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
    yesterday






    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
    yesterday














    I do not think it only works with Cases @petednz-fuzion but I have not seen it since about 2016 :-)
    – ErikH - CiviCooP
    14 hours ago




    I do not think it only works with Cases @petednz-fuzion but I have not seen it since about 2016 :-)
    – ErikH - CiviCooP
    14 hours ago










    up vote
    0
    down vote













    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

























      up vote
      0
      down vote













      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























        up vote
        0
        down vote










        up vote
        0
        down vote









        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 48 mins ago









        Bruno Vincent

        2439




        2439






























             

            draft saved


            draft discarded



















































             


            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

            數位音樂下載

            格利澤436b

            When can things happen in Etherscan, such as the picture below?