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
4
votes
1 answer

How to add class after uploading an image?

Why this code is not working? function previewFile() { var preview = document.querySelector('img'); var file = document.querySelector('input[type=file]'='class="rounded-circle"').files[0]; var reader = new FileReader(); …
user9296983
4
votes
2 answers

Tinymce - images_upload_handler - Validate max file size

Is there any way to validate the image file size in the images_upload_handler of Tinymce 5. tinymce.init({ selector: '#mytextarea', images_upload_handler: function(blobInfo, success, failure) { ....... } }); The function has 3…
Sanjay Kumar N S
  • 4,653
  • 4
  • 23
  • 38
4
votes
1 answer

Django Upload Image in specific folder without FileField or ImageField and MEDIAROOT

My App needs to upload different profile images in different folders inside the static folder. One more thing, I'm not using models, I just want to take the picture I choose in html input file and copy to the specific folder. Here is my folder tree.…
Sergio Mendez
  • 1,311
  • 8
  • 33
  • 56
4
votes
0 answers

Getting "403 Forbidden Access Denied Error" on file upload to s3 bucket using JavaScript

Getting "403 Forbidden Access Denied Error" on file upload to s3 bucket using JavaScript I'm trying to establish a connection to an s3 bucket and upload an image file. I am getting a permission error. Please, let me know where I am doing it…
4
votes
2 answers

processing an image upload form in django: when to use save() vs chunks() vs cleaned_data?

I have successfully uploaded an image using the following code: views.py from django.conf.urls.defaults import * from django.http import HttpResponse, HttpResponseRedirect from django.shortcuts import render_to_response from django import…
django-d
  • 2,210
  • 3
  • 23
  • 41
4
votes
2 answers

dropzone.js is not working inside angularjs partial view

Dropzone js is an awesome plugin used for drag & drop upload. I want it to implement in my angularjs project. Please find the scenario, which I have tried I have included
4
votes
1 answer

How to upload image to remote server in iphone?

I am trying to upload a image which i am clicking with the help of the camera. I am trying the following code to upload the image to the remote server. -(void)searchAction:(UIImage*)theImage { UIDevice *dev = [UIDevice currentDevice]; …
Atulkumar V. Jain
  • 5,102
  • 9
  • 44
  • 61
4
votes
0 answers

Quick Image Upload CKEditor change the language

I'm using CKEditor and I want change the language of the Doksoft's plugin Quick Image Upload but it's the only one who not change. I checked if my language is in the directory lang and in the i18n. The plugin changed with the directory lang but not…
Lynxi
  • 817
  • 13
  • 39
4
votes
1 answer

Upload the same image file twice - Javascript

I have an image uploader in my drawing application that I've written in Javascript. I want to allow the user to place multiple of the same image on the canvas. However, when I try to upload an image that's already on the canvas, nothing happens and…
4
votes
2 answers

Facebook style image upload with thumbnail generation

Okay, I know questions like this exist in multiple forms across StackOverflow and other places on the web, but none of them is pointing me to what I actually need (maybe I missed a question that was more catered to my problem). I need a…
Debadeep Sen
  • 435
  • 7
  • 18
3
votes
1 answer

Image upload to filesystem in Grails

I'm implementing a file upload functionality to a web-app in Grails. This includes adapting existing code to allow multiple file extensions. In the code, I've implemented a boolean to verify that the file path exists, but I'm still getting a…
Jason
  • 11,263
  • 21
  • 87
  • 181
3
votes
1 answer

How can I save multiple images to a temporary folder to preview before confirming the upload?

I have a site where I would like to let users select multiple images to upload to the site, show them a preview of the images they uploaded and then give them the option to either change any of the images or to go ahead and upload them. I would…
zeckdude
  • 15,877
  • 43
  • 139
  • 187
3
votes
1 answer

AWS S3 Uploading Image To Bucket - VERY Slow

I'm trying to upload an image to S3 with the Node AWS-SDK. First I encode an image to BASE64 and then make a Buffer with Buffer.from. I then send the request to S3 with S3.upload or S3.PutObject. It is working however it is extremely slow... An…
3
votes
0 answers

Flutter upload file to s3 - using only dart code

I'm trying to upload an audio file to s3. It seems like there is no straightforward approach. I found a few libraries. https://pub.dev/packages/amazon_cognito_identity_dart This one is incompatible with the latest dart version and there is no…
3
votes
1 answer

How to display images from strapi wysiwyg markdown editor to angular frontend

So I figured I'll answer this question as I had searched for a while and found nothing. Scenario (Angular frontend and Strapi backend): I have blog posts that contain text and images, and I am trying to display the images on my website as they are…
Kingston Fortune
  • 905
  • 8
  • 17
1 2
3
48 49