How to insert picture from upload field in the email, rather than link?

  • Profile Image
    Therbsgeeks
    Asked on April 08, 2018 at 02:45 AM

    Hello:

    I am using JotForm to create a missing person poster when a missing person is reported.

    Currently, the plan is to have someone upload a picture using the upload feature button, then display it in a missing person flyer, like below. However, as you can see, in this case it shows a link to the picture, not the actual picture.

    Is there a way to make an uploadable picture show in the email itself?



  • Profile Image
    Kiran
    Answered on April 08, 2018 at 05:20 AM

    Please try adding IMG parameter to the file upload field as shown below:

    152317914808042018_1447384.png

    This should be displaying the image uploaded in the email. Please get back to us if you need any further assistance. We will be happy to assist you further. 


  • Profile Image
    Therbsgeeks
    Answered on April 08, 2018 at 06:20 AM

    Excellent - that worked!


    Next question: The picture which is inserted is very large. Is there a way to tell the report to make it smaller or resize it?

  • Profile Image
    Therbsgeeks
    Answered on April 08, 2018 at 07:54 AM

    I do have another question.


    We would like to have the respons

    e, which I created into a poster, also sent as a PDF. We would like to be able to put this up on FB and social media immediately. Is there a way to have the poster outputted like the email which is sent?
  • Profile Image
    TREVON
    Answered on April 08, 2018 at 10:32 AM

    I see my colleague has responded to your question on this thread:

    https://www.jotform.com/answers/1438403


  • Profile Image
    Kiran
    Answered on April 08, 2018 at 12:58 PM

    Next question: The picture which is inserted is very large. Is there a way to tell the report to make it smaller or resize it?

    You may adjust the image size by adding the required width and height in the parameters as shown below:

    {IMG:UploadField:width:height}

    {IMG:UploadField:200:150} - displays the image with 200x150 size

    {IMG:UploadField::150} - displays the image with only 150px height

    {IMG:UploadField:200} - displays the image with only 200px width

    Hope this information helps! 


  • Profile Image
    Therbsgeeks
    Answered on April 16, 2018 at 04:55 AM

    Hi there:


    When I put in the values for the size, the picture does not show up.

  • Profile Image
    Kiran
    Answered on April 16, 2018 at 06:42 AM

    I have tried testing the image height and width parameters and they seem to be working normally at my end. I have cloned your JotForm and see that the upload field name is being used different on your form. The upload field should be {uploadPhoto} while the email has {uploadField}. Please try changing the upload field name and add the height and width parameters.

    Please get back to us if you need any further assistance. We will be happy to assist you further.