Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty dataUrl String after upload #163

Open
knowrahman opened this issue Apr 30, 2024 · 0 comments
Open

Empty dataUrl String after upload #163

knowrahman opened this issue Apr 30, 2024 · 0 comments

Comments

@knowrahman
Copy link

knowrahman commented Apr 30, 2024

<ImageUploading
            multiple
            value={images}
            onChange={onChange}
            maxNumber={appConfig.fileUploader.maxNoOfFiles}
            dataURLKey="data_url"
            acceptType={allowedFileTypes}
            onError={onError}
            allowNonImageType
          >
            {({
              imageList,
              onImageUpload,
              onImageUpdate,
              onImageRemove,
              onImageRemoveAll,
              isDragging,
              dragProps,
            }) => (
            ....
            )}
          </ImageUploading>
      When I upload an MP4 Video file of a size 500MB the data_url it results in an empty string with no file object,
      [{"data_url":"","file":{}}]
       the same works fine for the smaller file sizes
      
      Can anyone please help me in resolving this issue 
      
     Thanks in advance :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant