Questions tagged [image-uploading]

The process of moving images or similar files from a client machine to a server for storage and possible later display.

2997 questions
14
votes
3 answers

Mvc 3 Image Upload Gallery

I have implemented a file upload for images using ASP.NET Mvc 3 and the Microsoft.Web.Helpers NuGet package. The implementation is quit simple as it allows you to browse for a file and upload it to a specified directory. Here is what I have for my…
Carl Weis
  • 6,794
  • 15
  • 63
  • 86
13
votes
4 answers

How to store images in mysql database using php

How can i store and display the images in a MySQL database. Till now i have only written the code to get the images from the user and store them in a folder, the code that i wrote till now is: HTML FILE
Vipul Behl
  • 644
  • 1
  • 7
  • 20
13
votes
1 answer

Resizing images before upload when using BulletProof upload class

found this which is nice and quick to implement. It works great but what I want it before the images are uploaded, that they get resized to a max width but keeping the ratio. Let say i am uploading an image with a width of 5000px, i want this to be…
Lovelock
  • 7,689
  • 19
  • 86
  • 186
12
votes
5 answers

Upload from camera and gallery is not working properly in all the versions

I am trying number of tutorials and sample codes for take an image from gallery or camera then crop the image and upload it to server. I was implemented the code for that in that code am facing few problems the are. In pre Lollipop devices when I…
12
votes
1 answer

How to make a file input upload the original image file instead of forcing conversion to jpeg on IOS

When attempting to upload an image file stored on an iPhone running IOS 7 on the Safari browser, regardless of the original image format, the selected image files are always converted to a JPEG. I have attempted…
Elliot Levin
  • 450
  • 1
  • 4
  • 17
12
votes
1 answer

Load Image from Image URL taking so much time to display

I used the code from the following link: Signare's Blog. I have 10 image URLs and would like to retrieve and show them on my screen. When I use the code from the above link, it's taking more than 10 minutes to load all of the images. How do I speed…
Rince Thomas
  • 4,158
  • 5
  • 25
  • 44
11
votes
3 answers

How to upload multiple Images using DJango Rest Framework?

I am able to upload a single image with the following code. If I select multiple images then only the last image among the selected image is getting uploaded. models.py class Image(models.Model): property_id = models.ForeignKey( …
uneet7
  • 2,925
  • 7
  • 24
  • 41
11
votes
3 answers

html2canvas javascript screenshot and upload

Would it be possible to use html2canvas (This) to take a picture of the user`s screen but also upload the image, get the upload link and send it with ajax to the webserver? if so, how can i do this?
maria
  • 207
  • 5
  • 22
  • 56
11
votes
2 answers

ASP.Net MVC 5 image upload to folder

I have a very simple MVC5 application that has a product page for the client that I also am utilizing the basic CRUD operations that have been scaffolded out in MVC 5. I have a Model called Cakes.cs because the client sells cakes. Pretty simple.…
Eric Bishard
  • 5,201
  • 7
  • 51
  • 75
11
votes
1 answer

Loss of PNG image quality following CarrierWave::RMagick resize_to_fit

I'm using CarrierWave::RMagick to create thumbnail versions of images for a Rails app, and I've noticed loss of quality when the images are downsized. This is understandable to a certain extent, as we have less pixels in a downsized image and…
Merott
  • 7,189
  • 6
  • 40
  • 52
10
votes
3 answers

select multiple images in Android Gallery

i m working with one application that have one functionality to select multiple images from android inbuilt Gallery/Camera . Gallery is open successfully using below code. Intent intent = new…
Hitarth
  • 1,950
  • 3
  • 27
  • 52
10
votes
1 answer

Argument 1 passed must be an instance of App\Request, instance of Illuminate\Http\Request given

I have created a method in my User model to upload a poster (with intervention)for the user: /** * Store user's poster. */ public static function storePoster(Request $request) { if($request->hasFile('posterUpload')){ $poster =…
Marco
  • 624
  • 1
  • 6
  • 21
10
votes
2 answers

uploaded image does not display until I refresh the page Spring Mvc

I'm using spring mvc with thymeleaf to upload an image to the server and display it after submitting the form in a separate page "result". the problem is the image is not displayed until I refresh resources folder "resources/static/images" in…
Mohamed Zaki
  • 164
  • 2
  • 11
10
votes
1 answer

Upload multiple image using AJAX, PHP and jQuery

I have a lot of problem to upload multiple images using AJAX. I write this code: HTML
Drop image…
Ivijan Stefan Stipić
  • 6,249
  • 6
  • 45
  • 78
10
votes
2 answers

spawn ENOENT error

I'm trying to upload stuff to amazon s3 with the imager module. I keep getting the error message that says, events.js:72 throw er; // Unhandled 'error' event ^ Error: spawn ENOENT at errnoException (child_process.js:980:11) …
jensiepoo
  • 571
  • 3
  • 9
  • 26