Forum

Thread tagged as: Problem, Error, Gallery

Error uploading from iPhone

We're using gallery and wish to upload photos directly from our phones, we've tested this on a iPhone 5s, iPhone 6 and iPhone 6+.

We all get an "Error: Invalid file extension: image.jpeg" after selecting from camera roll. If you take a screenshot on the iPhone and select that, it will work (that's saved as a .png file). But a regular photo taken with the iPhone's camera will get you an error.

Is there a setting to allow .jpeg files or any other solution?

Benjamin Verkleij

Benjamin Verkleij 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

What's giving you that error? Is it on the page or in a dialogue box, or...?

A dialogue as soon as you select the image.

Drew McLellan

Drew McLellan 2638 points
Perch Support

We'll see if we can reproduce it.

Any update on this?

Drew McLellan

Drew McLellan 2638 points
Perch Support

No updates yet - sorry!

Anything yet? We really would like this to work...

Drew McLellan

Drew McLellan 2638 points
Perch Support

Work is underway.

I found the code for the file extensions for the gallery under: addons / apps / perch_gallery / upload.js

jpeg, wasn't in the list so I added it and that solved the issues for us.

A related issue we found is that the iphone and ipad allows you to select multiple images but it only adds one image, not all the were selected, to the upload que.

Is there anything that can be done about this?