The process of moving images or similar files from a client machine to a server for storage and possible later display.
Questions tagged [image-uploading]
2997 questions
23
votes
7 answers
Multiple Image Upload PHP form with one input
I've been trying to make this work for quite some time now. But I can't seem to make it work. I wanted to have a multiple image upload form with only using one input.
this is my…

clvxc
- 233
- 1
- 2
- 4
23
votes
2 answers
tinyMCE can no longer drag and drop images after upgrading from version 3 to version 4
My website was using the version 3 of tiny mce. One feature it had was that a user could drag an image into the editor, and it would automatically convert it to a base64 data-uri and insert it into the editor. I have just upgraded to version 4, and…

chiliNUT
- 18,989
- 14
- 66
- 106
22
votes
4 answers
Asp.net MVC: upload multiple image files?
is there a good example of how to upload multiple image files in asp.net mvc? I know we can use HttpPostedFileBase to upload one file. Is there a way to upload multiple files by clicking one button?
I used file upload in ajaxtoolbox in webform…

urlreader
- 6,319
- 7
- 57
- 91
21
votes
2 answers
Node js - Configuring aws s3 images on upload
What's working so far:
Using this function, I'm taking images that are uploaded to my server, sending them to an aws S3 bucket and then deleting them from my machine. That's all working great.
The problem:
How do I configure the image so that amazon…

mmm
- 2,272
- 3
- 25
- 41
21
votes
5 answers
Rails and ajax file upload - cannot read property 'innerHTML' of null error
I am developing a Rails app with a module for dynamic - ajax - image upload to gallery. I am doing it basing on this app - multi-file-upload-demo. I am not very keen in Javascript and stuff, so I copy a lot of logic from that implementation.
I made…

Maciek Simm
- 580
- 1
- 5
- 13
19
votes
1 answer
How to detect heic image before upload in JavaScript on iOS11?
We have an image uploading application and we compress images on client side using an external JavaScript library before uploading.
Now we have came across an issue specific to iOS11 when uploading image files having the extension of .heif or .heic.…

S.Basnagoda
- 671
- 2
- 8
- 21
19
votes
1 answer
HTML input file on iOS app, disable "take photo" option
I want to disable the "Take Photo" option in an iOS app (WKWebView based) and force users to select photos from library or iCloud.
I can force users to use the camera by the capture boolean attribute:

markets
- 6,709
- 1
- 38
- 48
19
votes
6 answers
Intervention Image - how to upload images with MIME type: application/octet-stream
Im using Laravel framework with Intervention Image library to upload and process images on my page. Everything works fine until I try to update .jpg images taken from mobile devices or from cameras. These images have MIME type…

Tomas Turan
- 1,195
- 3
- 17
- 27
18
votes
3 answers
Dropzone.js - How to change file name before uploading to folder
I am using DropzoneJS script for uploading images with drag & drop, but now I'm looking for a solution for how to add current timestamps with file name before uploading to the server folder, because I am not able to upload the same image if the file…

Mr.Happy
- 2,639
- 9
- 40
- 73
17
votes
5 answers
Retrofit 2 Multipart image upload with data
Hello everyone I want to post image and other data through Retrofit2.
I am sending data with one image.
All the other info is storing but my image is not storing.while i am testing with postman, it works.
please guide me where I am lacking in my…

Wasi Sadman
- 1,382
- 1
- 15
- 27
17
votes
4 answers
Upload multiple images in swift using Alamofire
I'm using the following code to upload a single image to a server:
private static func urlRequestWithComponents(urlString:String, parameters:Dictionary, imageData:NSData?, imageName: String) -> (URLRequestConvertible , NSData) {
…

Arun sharma
- 642
- 1
- 7
- 17
17
votes
4 answers
Image Uploading - security issues
I'm developing an ASP.NET Web app and would like the user to be able to either upload an image from their local system, or pass in a URL to an image. The image can either be a JPG or PNG. What security issues should I be concerned about doing this?…

keyboardP
- 68,824
- 13
- 156
- 205
15
votes
1 answer
Error: Validation failed: Images imageable must exist , rails-5.0 , paperclip-5
While i was trying to submit the form, following error occured: Validation failed: Images imageable must exist and render the same new.html.erb view.
If i comment the file field in new.html.erb. Product is being created…

Waqas Awan
- 554
- 5
- 14
15
votes
6 answers
Validating file extension in AngularJs before uploading
I am uploading images for our application to the server.
Is there any way to validate the extensions in client side by JS before submitting them to the server before uploading them to server?
I am using AngularJs to handle my front-end.

Ali Saberi
- 864
- 1
- 10
- 33
15
votes
3 answers
How do I convert a Bitmap to byte[]?
Basically I am inserting an image using the listviews inserting event, trying to resize an image from the fileupload control, and then save it in a SQL database using LINQ.
I found some code to create a new bitmap of the content in the fileupload…

the-undefined
- 753
- 1
- 6
- 18