- WPemrickAsked 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?
- JotForm SupportMike_TAnswered on September 19, 2013 at 03:19 PM
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?
- WPemrickAnswered on September 19, 2013 at 04:27 PM
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
- JotForm SupportMike_TAnswered on September 19, 2013 at 05:11 PM
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.
- WPemrickAnswered on September 19, 2013 at 05:18 PM
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
- WPemrickAnswered on September 19, 2013 at 05:46 PM
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?
- WPemrickAnswered on September 19, 2013 at 06:14 PM
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?
- CesarAnswered on September 19, 2013 at 06:45 PM
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.