Skip to content
This repository has been archived by the owner on May 3, 2021. It is now read-only.

Multiple image upload does not work in Safari on iOS or macOS #193

Open
mjoras opened this issue Feb 12, 2019 · 8 comments
Open

Multiple image upload does not work in Safari on iOS or macOS #193

mjoras opened this issue Feb 12, 2019 · 8 comments
Labels
Browser Bug upstream Problem is upstream projects

Comments

@mjoras
Copy link

mjoras commented Feb 12, 2019

Detailed description of the problem

Uploading multiple images does not seem to work on either iOS or Android.

Steps to reproduce the issue

Try to upload a photo, select multiple.

What actually happens varies based on the browser. For Safari on iOS 12 it shows all of the images in the upload dialog, but only uploads/processes the first one and then hangs (with no output for other images).

Fiefox on Android simply only lets you select one image.

Chrome on Android lets you select one image, uploads it successfully, and then does nothing (but does not show the other images in the upload dialog like Safari).

Output of the diagnostics (Settings => Diagnostics)

Diagnostics
-----------
Warning: Dropbox import not working. No property for dropboxKey.
No critical problems found. Lychee should work without problems!


System Information
------------------
Lychee Version (json):  3.2.11
DB Version:             update_030211
System:                 Linux
PHP Version:            7.2
MySQL Version:          50505
Imagick:                1
Imagick Active:         1
Imagick Version:        1799
GD Version:             bundled (2.1.0 compatible)
Plugins:

Browser and system

Safari on iOS 12. Firefox 64 on Android. Chrome 71 on Android.

@d7415
Copy link
Contributor

d7415 commented Feb 12, 2019

Probably related to/duplicate of #45. Interestingly, Chrome on android was reported as working there.

@mjoras
Copy link
Author

mjoras commented Feb 12, 2019

Update on this, it's definitely still an issue but in fact does work on Chrome for Android (I was having js caching problems).

Safari on iOS12 definitely does not work though. It will upload successfully usually 2 photos and then just stop.

@d7415 d7415 changed the title Mobile multiple image upload does not work Mobile multiple image upload does not work in Safari on iOS Feb 13, 2019
@d7415
Copy link
Contributor

d7415 commented Feb 13, 2019

Splitting this to Safari. We'll continue to track the Firefox issue in #45.

@mjoras mjoras changed the title Mobile multiple image upload does not work in Safari on iOS Multiple image upload does not work in Safari on iOS or macOS Feb 14, 2019
@mjoras
Copy link
Author

mjoras commented Feb 14, 2019

@ildyria are you referring to the latter answers to the question, the ones about how every image gets uploaded as image.jpg? It does in fact look like the same problem seems to affect the macOS version of Safari. So changing the title.

@ildyria
Copy link
Member

ildyria commented Feb 14, 2019

@mjoras well that is one problem but also the fact that it is inconsistent :(

@mjoras
Copy link
Author

mjoras commented Feb 15, 2019

Since I can infact reproduce it on a laptop with the macOS version of Safari, is there any useful debug logging or otherwise I could provide? I'm unfortunately pretty useless with web development but I can be a debug monkey.

@ildyria ildyria added Browser Bug upstream Problem is upstream projects labels Feb 19, 2019
@ashishmit14
Copy link

For multiple file upload, I am having problem on Safari installed on Mac Sierra version.
I am using DataTransfer API which is working fine in chrome/firefox. But in Safari, no such API is there hence could not initialized the DataTransfer Object & throwing the error.
The error I was getting as following:

TypeError: function is not a constructor (evaluating 'new DataTransfer')

Could any one of you tell me, if any work around is there?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Browser Bug upstream Problem is upstream projects
Projects
None yet
Development

No branches or pull requests

4 participants