Category "file-upload"

API Platform / React - uploading file not working

I'm trying to send an image to my API with React using a formData and Axios but my request in my custom controller shows null. When I use PostMan my api accepts

How do I reference an image from storage in cloud firestore? React

I'm so confused. I have a form with an input field where you put in a 'title' and an upload file where you upload an 'image'. I created a doc in Cloud Firestore

How can I use Validator in perform_create to limit image upload size for Django Rest Framework?

In my view, I'm able to restrict an image's resolution to a specific range of width and height, but I don't know how to use this very method to also restrict an

I manage to upload the image but on the firebase storage but it says undefined

I cant preview the image inside the store, it says undefined I manage to upload it on images/ folder but the name of the file is undefined instead of the actual

Image.FromStream throws Parameter is not valid error only on linux

I have some Unit Tests made in .net core that checks if the file which is uploaded from angular frontend is actually resized on the backend. I have a service th

File Upload to Channel via Microsoft Teams Graph Api

I have been trying to do a file upload to a channel using the graph Api. I can successful do an upload to my personal OneDrive, using the request https://graph.

Dropzone: Submit both form data and dropzone at once

I know there some questions like this, but they didn't answer questions exactly. This is what I need, Upload files using Dropzone Save form data and uploaded im

How to auto-compress Images while uploading image in angularjs

Here is my HTML form: <form name="myForm" ng-submit=""> <input ng-model='file' type="file"/> <input type="submit" value='Submit'/&

How to change "Choose file" text using Bootstrap 5

Is it impossible change choose file text of input file in Bootstrap 5 using CSS like Bootstrap 4? And how can I add a margin to "No file chosen"?

Can't load existing files using the jquery-filupload examples

I am using the code provided by the blueimp jquery-file-upload site from the basic-plus demo example. I have modified it enough to fit my requirements and works

Formidable doesn't work outside localhost

I've made a basic file uploader website using formidable. The file uploader works on my localhost, however when other devices use my website to upload files it

Upload image to server using Ionic 5

I've been trying to upload a image to the server using Ionic 5 without any luck. After taking a image with the camera or selecting a image from the galery, and

How do I resolve Uncaught ReferenceError: signalR is not defined

@section scripts{ <script src="https://cdnjs.cloudflare.com/ajax/libs/microsoft-signalr/6.0.1/signalr.js"></script> } I added signalR CDN

Cannot recognize image upload at Google Drive in js

i'm trying to upload image file at google drive, using oauth token & fetch url. https://developers.google.com/drive/api/v3/manage-uploads Perform a multipar

Azure Web Application Firewall (WAF) not diferentiating file uploads from normal posts and returning 413

The Azure WAF can be configured to check the maximum size of a request like this: Anyway, besides having this configuration, any time we upload a file the WAF

Angular 2 - How to upload file and store in local folder

For example, I created a folder called 'upload' under src folder. html file: <div> <input type="file" id="photo" (change)="onChange($event)" />

Selenium Automation Upload file issue

While debugging I found out that my tests fail because of the unloaded file. I tried many different locators and checked the absolute path to uploading file, bu

Reopening a closed django InMemoryFileUpload using class based views

I have a Django project which involves a user uploading a CSV file via a form. I parse this file in the forms clean method, and then in the views form_valid met

How to upload a file with the same name to Amazon S3 and overwrite existing file?

s3.putObject({ Bucket: bucketName, Key: fileName, Body: file, ACL: 'bucket-owner-full-control' }, function(err, data) {

WordPress File Access Permission

I am trying to upload an image to set a background image for my theme, but I get this error: Unable to create directory wp-content/uploads/2018/05. Is its p