Questions tagged [image-upload]

Use this tag for questions regarding uploading image to an online storage service such as Cloud Firestone, Amazon AWS

There are many online services and APIs that allow an app or software to upload and store images online. Some of them are: Cloud Firestore, Amazon AWS, Google photos, etc.

727 questions
3
votes
1 answer

how to upload an image using multipart form data in flutter using dio with mime type

here is my code void _uploadFile(filePath1, filepath2) async { // Get base file name String fileName1 = basename(filePath1.path); var ij = lookupMimeType(fileName1); print('this is $ij'); print("File base name: $fileName1"); …
Jijo Johnson
  • 33
  • 1
  • 1
  • 5
3
votes
1 answer

how to upload image in react-admin graphql

i saw example dataprovider in react-admin docs that is handle image upload and convert it to Base64 but i cant use this for graphql dataprovider anyone can help me? actually i want piece of code that handle image upload in react-admin graphql…
3
votes
2 answers

i can't upload image,video and files in kotlin webview

I can select a videos and images but i could not upload in my webview ,kotlin program. webview.setWebChromeClient(object:WebChromeClient() { override fun onShowFileChooser(webView:WebView, filePathCallback:ValueCallback>,…
Sudharshan
  • 27
  • 1
  • 3
3
votes
2 answers

Unable to access 'this' context in addEventListener() in Angular 2 component

Unable to access 'this' context inside addEventListener() in angular 2 In my rich text editor component, I am implementing image upload functionality. For that I have written an addEventListener event handler for 'change' in image input tag, I…
3
votes
2 answers

react-native-fetch-blob is blocking firebase calls n react native app

I have a react native app that uses Firebase, firestore. for uploading images i am using "react-native-fetch-blob" to create a Blob. in the js file that I use to upload the file, my code look like this: const Blob = RNFetchBlob.polyfill.Blob const…
3
votes
3 answers

Copy file into another folder with django?

I need to upload profile images into diferent folders in Django. So, I have a folder for each account, and the profile image have to go to the specific folder. How can I do that? Here is my uploadprofile.html
Sergio Mendez
  • 1,311
  • 8
  • 33
  • 56
3
votes
1 answer

How to change the border to uploaded image using JavaScript

function readURL(event){ var getImagePath = URL.createObjectURL(event.target.files[0]); $('#trapezoid').css('background-image', 'url(' + getImagePath + ')'); } #clock{ background-image:url(''); background-size:cover; …
Mohammed
  • 319
  • 1
  • 3
  • 15
3
votes
0 answers

S3 image resizing in IE 10 using ng-croppie library

I'm using ng-croppie (https://github.com/allenRoyston/ngCroppie) library to upload and resize the images and its working fine all browsers, when the images are stored in my server. When the images are getting from S3 bucket, It saved empty image…
3
votes
1 answer

How to store and retrive image data in MySQL database in Golang

How can I insert an image data in MySQL Database and then retrieve it using Golang? Basically I want that task for upload profile picture of user in web application. According to the my knowledge,the best solution is save image as blob object in…
Sandun Priyanka
  • 591
  • 7
  • 24
3
votes
3 answers

Multiple Image Upload only uploading one image in Symfony 3?

I'm building a function to upload multiple images to our website, and so far I have this as my upload form:
mickburkejnr
  • 3,652
  • 12
  • 76
  • 109
3
votes
1 answer

How do I pass multipart-form data to AWS Lambda

I am trying to send a file from client side and receive it through AWS API Gateway to my Lambda function which will then put this file in S3 bucket. I have used the following as default parameter template in API Gateway {"image" :…
3
votes
3 answers

In Drupal 6, what's the quickest way to set up a WYSIWYG editor with code syntax highlighting and image upload?

I've seen numerous posts in random places about how to set up a WYSIWYG editor for Drupal 6. I've had luck with CKEditor and FCKEditor via the WYSIWYG Drupal module. All is well there, but I hit a breaking point when I try to add on syntax…
Vivek
  • 137
  • 1
  • 11
3
votes
3 answers

Not able to send additional parameters with image using HttpURLConnection in android

public class UploadProfilePicActivity extends Activity implements View.OnClickListener { ImageView imageView; Button btnUploadPic; Button btnskipUploadPic; Button btnSaveNContinue; private static int RESULT_LOAD_IMAGE = 1; String imagepath =…
Deepak Rattan
  • 1,279
  • 7
  • 21
  • 47
3
votes
2 answers

uploading image to Parse server using libcurl in c++

I have the below code which performs the upload operation! its returning me, url and name but that url is invalid/there is no image, what i'm doing wrong? CURL *curl; CURLcode res; struct curl_httppost *formpost=NULL; struct curl_httppost…
goal4321
  • 121
  • 3
  • 17
3
votes
1 answer

preview image before upload with dynamic created input elements

I use jQuery to add form group dynamically:
user1651520