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

  • Therbsgeeks
    Asked on April 8, 2018 at 2: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?



    Jotform Thread 1438328 Screenshot
  • Kiran Support Team Lead
    Replied on April 8, 2018 at 5:20 AM

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

    152317914808042018 1447384 Screenshot 10

    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. 


  • Therbsgeeks
    Replied on April 8, 2018 at 6: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?

  • Therbsgeeks
    Replied on April 8, 2018 at 7: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?
  • TREVON
    Replied on April 8, 2018 at 10:32 AM

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

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


  • Kiran Support Team Lead
    Replied on April 8, 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! 


  • Therbsgeeks
    Replied on April 16, 2018 at 4:55 AM

    Hi there:


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

  • Kiran Support Team Lead
    Replied on April 16, 2018 at 6: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.