Upload file error

2 replies · opened Mar 10, 2021

Mmarinos13Mar 10, 2021

Hello,

I am trying to implement a file upload of an image and everything works fine but when I check the Debugger I keep getting error messages like these:

Uncaught TypeError: IntersectionObserver.observe: Argument 1 is not an object.

Here is the code I am using:


$("#banner").fileinput({
      maxFileCount: 1,
      allowedFileTypes: ["image"],
      allowedFileExtensions: ["jpg", "png"],
      maxImageWidth: 600,
      maxImageHeight: 1920,
      resizePreference: 'height',
    });

I also checked the template page and it seems to have the same problem. Is there a way to fix it?

Mmarinos13Mar 11, 2021

Thank you it works perfectly!

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard