Uploaded file in the notification email is rotating 90 degree

  • Stenquist
    Asked on March 19, 2025 at 6:56 PM

    Hi,

    I have set-up one of my notification emails to include thumbnails of documents that were submitted; however, it is rotating them 90 degrees to the right. How can I fix this?

    Here is the code I used: {IMG:picturesif::200}

    And I have attached the original pictures.

    Jotform Thread 25399421 Screenshot
  • Jerlan JotForm Support
    Replied on March 20, 2025 at 12:20 AM

    Hi Ryan,

    Thanks for reaching out to Jotform Support. I cloned your form and tested it using the photo you forwarded to see if I could replicate the issue, but everything was working properly. Check out the screencast below to see my results:

    Uploaded file in the notification email is rotating 90 degree Image 1 Screenshot 30 Do you want the photo to appear as shown in the screencast below?

    Uploaded file in the notification email is rotating 90 degree Image 2 Screenshot 41 If yes the form filler should rotate the photo 1st before uploading it to your form. If that’s not exactly what you’re looking for, can you explain a bit more so I can help you better?

    Reach out again if you need any other help.

  • Stenquist
    Replied on March 20, 2025 at 12:15 PM

    The photo is currently appearing like the first one; however, i want it to appear like the second one. It shouldn't rotate them at all.

  • Jerlan JotForm Support
    Replied on March 20, 2025 at 12:51 PM

    Hi Ryan,

    Whatever the original orientation of the uploaded image, it will be retained once submitted to our server. This means that if the files uploaded by the user are not in the proper orientation, they will be retained as is. Can you confirm if the original orientation of the uploaded image was changed automatically when you received the notification email? If so, can you share what device you used to upload the photo to the form?

    Once we hear back from you, we'll be able to help you with this.

  • Stenquist
    Replied on March 20, 2025 at 1:01 PM

    The pictures I provided to you are the exact ones that were uploaded, as you can see, they are the proper orientation, and they were uploaded through my laptop.

    I just tried it again and the form is rotating them still. See attachedUploaded file in the notification email is rotating 90 degree Image 1 Screenshot 20 screenshot.

  • Jerlan JotForm Support
    Replied on March 20, 2025 at 1:52 PM

    Hi Ryan,

    Can you try another photo to upload to check if it's doing the same thing? If the issue continues, try to add a new file upload element and then submit a test submission. Don't delete the existing file upload element to avoid losing the previously uploaded file, you can hide it instead. Let me walk you through how to add a new file upload:

    1. In Form Builder, click on the Add Element menu on the left side of the page.

    2. Under the Basic tab, scroll down the list and choose the File Upload field.

    Uploaded file in the notification email is rotating 90 degree Image 1 Screenshot 20 Once done, submit a test submission and upload the photo to the new file upload element.

    Give it a try and let us know how it goes.