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.
Photo URL won't display in browserAsked by WPemrick on September 19, 2013 at 01:54 PM
Why is the URL from photos uploaded through jotform being treated as an attachement, it didn't used to be that way? When I put the URL from an uploaded photo in my browser it prompts me to open or save the photo. I used to be able to view the photo directly in the browser. This is a huge problem for my application of the photos collected through jotform. Is there a way to get the URL to open in my browser rather than prompting like it's an attachement?
Thank you for contacting us.
Let me please inform you that this is possible to view upload images on the form Submissions page. Also, the thumbnail preview images available for HTML Table Listing Reports.
If you would like to use image URLs on your web pages, you can use html, something like:
<img src="http://your_image_link_here" alt="Image" />
Is this something that you can use?
Hi, thank you for the response. Unfortunately none of those solutions work for me. What I need in order for the photo to display in my student directory is a full browser view of the photo. The software I'm using takes a "siteshot" of the URL and displays it in my directory. Is there any way to get the URL of where the photo is actually stored so that when I load it into my browser it fills the frame rather than downloading? This is what I need. It used to be this way for my jotform uploads up until last fall, and then something changed with your servers or something. Now the photos that have been uploaded since then don't work. Please let me know if there is any way to make this work. thanks
We use Amazon S3 service for uploads, and it is not likely that we can change the file download behavior. We can try to find some workaround for you.
Can you please provide us with the link to the software that you use?
If the goal is to get the image files, you can also consider using Dropbox, Google Drive or Box,net integrations.
The software I'm using for the directory is called connections Pro and the information can be found on www.connections-pro.com it is a plugin for WordPress and I'm using the site shot feature in order to display photos with in the directory this allows me to upload in bulk all of the photos that I received from Jotform form directly into the directory via a csv import file. Let me know if you need more info to figure out a workaround. Thanks
A couple more things I didn't mention:
1. the link to the website with the Connections-Pro plugin is http://www.connections-pro.com/
2 the csv upload file I mentioned in my most recent response requires a website URL in additiion to the directory contact infor for each student in order for the photos to display properly. this is the only way I'm able to import the photos into the software in bulk, because there is no feature available in the software to bulk import the actual jpg files (just the URLs). Automation is important for this because it's a large database.
I'm not familiar with the capability of box or google for this purpose. Is there a way to use those to get a photo URL that displays in the browser window without the drawbacks of dropbox?
OK, I just did a little research regarding Amazon S3 and found out that the reason photo URLs will prompt for an open/save rather than displaying in the browser can be caused by the header that jotform is placing on the photo when it's uploaded into S3. By changing the header to "Content-Type: image/jpeg" when you upload the file to S3, S3 will send that header back to the user when they fetch the file, which will allow the photo to be opened directly. The issue is discussed fully in this string on the Amazon S3 forum: https://forums.aws.amazon.com/thread.jspa?messageID=139327𢀿
Are you able to see the header that jotform is assigning to the S3 photo uploads? Could this be the problem?
Indeed the header may be one of the reasons as to why the images are being downloaded instead of displayed. In which case it would mean the submissions section would need to be modified so that the link would display the image as opposed to to downloading them.
What we can do in this case is raise your input to the Development Team so that they can evaluate the best course of action they can take. As there might be a reason as to why is set the way it is. That said, I am unable to promise they will change the cunrrent functionality of the links, nevertheless it is best to pass along this type of input to the Development Team.
We will let you know through this thread once there is an update from the Development Team.
If you do require any other assistance do create a different thread to avoid confusion on the matter discussed here. Thank you.