What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Can I embed images into an email rather than having a link?

    Asked by erksauce on April 19, 2012 at 12:16 AM

    Right now when someone attaches an image to one of my forms, it just puts a link to the image in the notification email.  When I was first playing around with JotForm, it embeded the images and now I cant figure out how I did it.  I had dropbox integration on when it worked I think, but I just enabled dropbox again and it didn't work this time.  I also tried it with "allow multiple uploads" on and off and it still sent me links both times. How do I go about enabling this?

    Thanks!!

    Screenshot
  • Profile Image
    JotForm Support

    Answered by mliz on April 19, 2012 at 12:21 AM

    In order to display uploaded images directly on your email the IMG prefix should be added into your upload tag.  In your notification email it should be  {IMG:damagePhoto}, this prefix will create an image with the original dimensions of the uploaded image. If you want to specify dimensions, you should provide them as arguments. Such as: {IMG:damagePhoto:100:200} will put an image 100px wide and 200px tall.

    Alternatively you can also add this to the body of the notification email by clicking on Damage Image Photo from the form fields. 

    Please give this a try and let us know if it worked.

    Thanks!

  • Profile Image

    Answered by erksauce on April 19, 2012 at 12:27 AM

    Wow you guys are fast.  Thanks!

  • Profile Image

    Answered by erksauce on April 19, 2012 at 12:34 AM

    One additional question...

    Lets say I want to constrain just the width, so all images show up no larger than 700 px wide, but the height can be proportionally equal.  It would also be great if a photo was under 700 px, it didn't scale it up.  Is this possible?

  • Profile Image
    JotForm Support

    Answered by abajan on April 19, 2012 at 02:45 AM

    You can have the image constrained to 700 pixels in width by using the format {IMG:damagePhoto:700} (Please see Serkan's reply to me in this thread)

    As to preventing images under the width limit from scaling up to that width, I don't think this is currently possible. However, it would be useful to have such a feature and as such, I will issue a ticket requesting it.