Images are showing once form finished loading?

  • Profile Image
    OnePayroll
    Asked on October 17, 2015 at 11:05 AM
    The only problem that I see is that the form will basicly load ALL logos of all clients, but only show one logo based on a condition. With a large amount of clients this could take the form a while to load, right? Do I see that correctly? If yes, is there a solution for that?
  • Profile Image
    Charlie
    Answered on October 17, 2015 at 11:14 AM

    Hi,

    Based from the original thread, I believe there's an enhancement made by our developers.

    When you set the images hidden, it is explicitly hidden so when the form loads, none of the images will be displayed.

    I cloned your form and prepopulate the field that triggers the images. Here's a cloned form: https://form.jotform.com/52894130712958?intermediairscode=RES. If the internet connection of the user is slow, still it should not load the images (based from the enhancement made).

    If you are still having problems on this, please let us know.

  • Profile Image
    abajan
    Answered on October 17, 2015 at 12:15 PM

    @OnePayRoll

    While it's true that, by default, the images would be hidden from view, they would still need to load in the HTML (back end) of the page. So, yes, I would imagine that the more images (logos) included in the form, the longer it would take for the form as a whole to be displayed. But I could be wrong about that. What I would suggest is to ensure that the dimensions of each logo is not larger than its displayed size. Please see this section of Google's image optimization guide.

    Thanks

  • Profile Image
    abajan
    Answered on October 17, 2015 at 12:23 PM

    Correction: The images won't load in the HTML but each image would require its own block of HTML. So, for each image added there would be a small increase in the load time of the page. Unless there are several hundred logos, I doubt the increase in page load time would be noticeable. But just to be on the safe side, follow the guidelines at the link I provided.