immich icon indicating copy to clipboard operation
immich copied to clipboard

[BUG] Unable to upload HEIC photos

Open IrwenXYZ opened this issue 2 years ago • 6 comments

Describe the bug Unable to upload HEIC photos. When photo is attempted to be uploaded, the bottom right upload GUI does not appear, and immich provides no response in GUI or in logs

To Reproduce Steps to reproduce the behavior:

  1. Go to immich web UI
  2. Attempt to upload HEIC file
  3. Upload does not occur

Expected behavior The bottom right upload UI should show up indicating progress, and when finished, immich should prompt user to refresh

System

  • Server Version: v1.40.1_63-dev

Additional context Tested on Firefox and Chrome

IrwenXYZ avatar Dec 30 '22 17:12 IrwenXYZ

The initial observation is the HEIC file when uploaded from the web doesn't have the type specified as image/<type-name> but as a blank string, thus the web excluded the file from being uploaded

alextran1502 avatar Dec 31 '22 12:12 alextran1502

Same seems to be also happening with app (android) uploads, only jpgs are appearing. Videos (.mp4) aren't appearing, also no logs in gui or app. The progress bar is showing upload progress and my proxy reports traffic, but it seems to be discarded by the server. Version: latest stable (v1.40.0), app is play store version.

lameslime avatar Dec 31 '22 21:12 lameslime

Same seems to be also happening with app (android) uploads, only jpgs are appearing. Videos (.mp4) aren't appearing, also no logs in gui or app. The progress bar is showing upload progress and my proxy reports traffic, but it seems to be discarded by the server.

Version: latest stable (v1.40.0), app is play store version.

Hmm, can you share a file from your Android phone? Heic is standard on iPhone so I am not sure why uploading from Android not working?

alextran1502 avatar Dec 31 '22 21:12 alextran1502

Alright, I think it was taken with Proshot. Picture

lameslime avatar Dec 31 '22 22:12 lameslime

I have this same issue.

mitchross avatar Jan 26 '23 18:01 mitchross

Just doing a catch-all comment. Tested with latest version. Uploaded gif, jpg, jpeg, png, webp, heif, heic, avif from web upload.

HEIF/HEIC/AVIF do not work/upload with standard example files downloaded from websites. AVIF does show a file upload dialog box, but nothing shows up once I refresh. ([Nest] 558 - 01/28/2023, 10:39:04 AM ERROR [AssetUploadConfig] Unsupported file type .avif file MIME type image/avif

Hukuma1 avatar Jan 28 '23 18:01 Hukuma1