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

    Photo URL won't display in browser

    Asked 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?

     

    Page URL:
    http://www.jotform.com/?formID=22045804872958

    JotForm problem style size
  • Profile Image
    JotForm Support

    Answered by Mike_T 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?

  • Profile Image

    Answered by WPemrick 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

  • Profile Image
    JotForm Support

    Answered by Mike_T 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.

  • Profile Image

    Answered by WPemrick 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
    ------------------------------
  • Profile Image

    Answered by WPemrick 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.

    3. I'm already using dropbox integration with jotform so most of the photos are already saved in dropbox.  I tried the "share link" method in dropbox to get a URL I could use in the csv import file.  This actually technically works in that it results in a photo displaying in my directory.  however, it's not going to be sufficient because  1. the photo display is too small because the photo URL doesn't fill the full browser when you view the shared link, 2.  if someone clicks on the photo that displays in the directory it opens the photo in the browser along with buttons to share or download the photo which is against our privacy policy and 3. there is no way to epxort all the dropbox photo URLs in bulk, instead you have to open each dropbox photo, share the link, then copy it into our jotform database for every photo individually which is a slow and manual process for a database of 300+ people with annual photo updates. 

    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?

    thanks

  • Profile Image

    Answered by WPemrick 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&#139327 

    Are you able to see the header that jotform is assigning to the S3 photo uploads?  Could this be the problem?

     

  • Profile Image

    Answered by Cesar on September 19, 2013 at 06:45 PM

    Hello WPemrick, 

    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.