Many small uploaded files are no longer available since they were downloaded over 100 times

  • bdoodle
    Asked on March 2, 2016 at 10:50 AM

    Hello,

    It seems that what happened below is what happened to me:

    http://www.jotform.com/answers/740554--URGENT-Uploaded-photos-no-longer-available

     

    I used a form called file uploader to upload hundreds of tiny image files to appear conditionally on my Spinnaker Specification form (http://www.madsails.com/Specify_FS_TR_spin.html).  When I look at the submissions on the file uploader form, only one image remains: FS_Spin_9_Pink.png.  It is the only one that will appear on the Spinnaker Specification form as well.  (Panel 9, Pink)

    All this happened at the same time that I switched hosts so I thought it had something to do with that.  But now, I think it's the above issue.  Can you restore the files one time while I work on moving to the DropBox integration approach?

    Please let me know.

    Thanks.

  • Ben
    Replied on March 2, 2016 at 1:22 PM

    Thank you for the link to the other thread. Yes, the issue seems to be the same.

    Now instead of adding the files to dropbox - if you plan to use them on your website/forms, I would suggest adding them either on your own website or on CDN provider. For example, you could use a subdomain of your website to show the same, giving you more speed than DropBox and if you had them on your www.madsails.com domain as well.

    Since there are many files that are uploaded on your form: http://www.jotform.us/form/50875054740153 I will need to raise this up to our developers and have them reset the counters for you.

    I do suggest to download all of them as soon as you can afterwards so that they do not go over again.

    We will notify you about the same through this thread.

  • bdoodle
    Replied on March 2, 2016 at 3:26 PM

    Thank you for the reply and for resetting my counters so I have time to redo my forms a different way. If I understand you properly, you are suggesting that I just upload my image files to my website host and alter the image source on my image fields to point there for an image file.  I'm willing to do this, but I need confirmation that I'm doing it correctly.  

    1.) I have ~300 of these image files, 210 of which show conditionally on one form (https://www.jotform.com//?formID=51025731032137) and 90 of which show conditionally on another form (https://www.jotform.com//?formID=51004169520141).  

    2.) So, I have 300 conditioned show statements I want to keep that refer to the current image names (e.g. FS_Spin_19_Black)  

    3.) Since each of these 210 or 90 images (mostly transparent png files ) must be presented in the identical form location on top of each other, I have Custom CSS referring to the existing 300 field ids (e.g. #id_381 thru #id_590 on my form: https://www.jotform.com//?formID=51025731032137) assigning each an absolute position of top: 600 and left: 670 with a z-index of -250). 

    To fix my forms, my plan is to:

    A. Clone my spinnaker forms and upload all the image files to my website host in the images folder 

    B. Remove the CSS code that puts the fields in the same absolute position so I can see and change the individual image fields.

    C. Change each of the files to have an image source of http://www.madsails.com/images/... instead of http://www.jotform.com/uploads/bdoodle/50875054740153/304676874156409242/....

    D. Respecify the CSS code that puts the fields in the same absolute position. 

    E. test the cloned forms and then replace the live forms with my cloned forms

     Please let me know if my plan is sound.  Thanks.

  • Ben
    Replied on March 2, 2016 at 5:07 PM

    You are welcome. I do only want to mention again that I was not able to reset your counters due to the number of the same (282). I have however raised this to our L2 to check and do the same for you.

    If I understand you properly, you are suggesting that I just upload my image files to my website host and alter the image source on my image fields to point there for an image file.

    Yes, that is correct.

    You change this by changing the image source. I have just changed the field name in the following demo, but you would be changing the domain instead.

    Many small uploaded files are no longer available since they were downloaded over 100 times Image 1 Screenshot 20

    In regards to the steps that you have mentioned:

    A. - yes, it is always best to clone the form just in case, so this is great first step :)

    B. - My suggestion is to cut it out (CTRL + X) and paste it into some plain text editor like Notepad. This will allow you to simply cut and paste it back into the custom CSS code field and have it exactly as it was.

    C. - That is correct, although the exact URL would depend on where you post the images.

    D. - Seems that you had some copy -> paste idea as well, so Yes. :)

    E. - That is what I would suggest as well. Possibly test them first directly, but then also on some hidden page of your website that is like the one that the form will actually be on.

    Please let me know if my plan is sound.

    - Sounds perfect :)

    If your host (or if you have someone that) can help you with the images, you can think about having them on the same sub domain (www) - withing some folder, or have them help you set the images up on some other subdomain (just for example: images.madsails.com)

    Since you have a lot of images, you will be able to see a difference in the page load, however if you are not able to have someone do it for you and do not know how to do it, it is better not to try to do it yourself.

    You can read a bit more about this here:

    http://www.shoutmeloud.com/serve-wordpress-images-sub-domain-301-redirect.html

    https://wordpress.org/support/topic/better-speed-with-images-in-subdomain-reality-or-theory

    - While these are for WordPress and I see that your website is built in Dreamweaver, the same applies, while steps depend on how your hosting panel looks.

    - Something to check (if you wish) while our developers work on resetting your counters :)

  • liyam
    Replied on March 5, 2016 at 8:21 AM

    Hello,

    I have cleared your download limits related to the form, You should be able to access the files again. If you have other questions or concerns, please do let su know.

    Thanks.

  • bdoodle
    Replied on March 5, 2016 at 8:46 AM
    thank you!
    ...
  • Jan
    Replied on March 5, 2016 at 2:59 PM

    On behalf of Liyam and Ben, you are welcome. Thank you.