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
9
votes
2 answers

Uploading multiple images in Django admin

I'm currently building a portfolio site for a client, and I'm having trouble with one small area. I want to be able to upload multiple images (varying number) inline for each portfolio item, and I can't see an obvious way to do it. The most…
Gary Chambers
  • 24,930
  • 4
  • 35
  • 31
9
votes
5 answers

php Unique filename when uploading

I've a submit discussion form with image upload in my website. Now, I want to upload a unique file name when the user submits their image so that I can show the result of all images and can avoid duplicate file names. How can I do this with php?…
Umme Habiba Kanta
  • 173
  • 4
  • 4
  • 9
9
votes
4 answers

in asp.net-mvc, is there a good library or pattern to follow when saving users content (images, files, etc)

i have an admin section of my website where "authors" can upload files like pictures for photo galleries, etc to include in dynamic content sections of my website later. I have certain pages where the html itself is stored in my mySQL database and…
leora
  • 188,729
  • 360
  • 878
  • 1,366
9
votes
0 answers

Node.js: How do I protect against malicious image file uploads? I.e., how do I implement an image sanitizer in Node?

I am creating a web app using hapi.js that allows users to upload images. I am validating the uploaded images in both the client and server to only allow .jpg/.jpeg, .png, and .gif files. However, I am new to web application security and when it…
Samuel Earl
  • 351
  • 4
  • 10
9
votes
1 answer

Convert byte[] to image and display on jsp

I'm trying to display an uploaded picture (which is now a byte array) on a jsp page. Now, the byte[] column exists in the database and has to be converted to an image. This is what I've been trying: Part of the table on jsp page:
MJM
  • 141
  • 1
  • 2
  • 11
9
votes
2 answers

How to loop through a photo gallery in swift with photos framework

I have an app that creates a unique photo gallery for each ticket on my app. I need to figure out how to loop through that gallery so I can upload the images to the server one at a time. I followed these tutorials on youtube. (Video) I am currently…
Spikehockey75
  • 211
  • 1
  • 2
  • 6
9
votes
1 answer

blueimp/jQuery-File-Upload with Laravel How to integrate?

Trying to build my upload images part of my site and wanted to use blueimp/jQuery-File-Upload instead of hardcoding everything from scratch. However I am new too all that, could you tell me HOW to integrate that plugin with my Laravel structure…
commandantp
  • 947
  • 1
  • 12
  • 25
9
votes
3 answers

Upload multipart image data in JSON with Retrofit?

I would like to do a PUT request with this JSON body (containing a picture) and with Retrofit. I'm using it under Android: { "Request": { "data": { "Key": "keydata", "param": { "title":…
Patrick
  • 425
  • 4
  • 15
9
votes
3 answers

HttpClient StreamContent append filename twice

I am using Microsoft Http Client Libraries to make a multipart request from Windows Phone 8 to the server. It contains a String content having json string and a Stream Content having image stream. Now i get the status OK and request hits on the…
8
votes
1 answer

Drag and drop image & upload plugin for tinymce

I'm looking for a tinymce plugin or an external jquery solution easy to integrate into tinymce that allows drag and drop image uploading and insertion in a tinymce textarea, either directly dropping the image in the textarea itself or in a defined…
Borgtex
  • 3,235
  • 1
  • 19
  • 28
8
votes
0 answers

URLSession in swift 4 for uploading jpeg file from iOS gallery generating Error

I am trying to make uploading of my image from iPhone gallery to my web-server running on PHP. For uploading request I am using URLSession and for selecting images from iPhone Gallery UIImagePicker. I am getting this error from my iPhone 7 and…
8
votes
8 answers

How can I update image automatic on vue component when I upload the image?

My vue component like this :