Please tell me how to display Apple Live photos (HEIC & MOV) located in album immich via Gallery for Immich on WordPress?
Ok, there are some issues here.
- When extracting a live photo from the apple library, you get 2 files, IMG_1234.HEIC and IMG_1234.MOV
- HEIC is not supported by most browsers, so it has to be converted
I solved this in my test environment by requesting a preview from Immich instead of the downloaded full version
- When uploading both files to Immich, the preview in Immich shows the MOV, when clicking it, it shows the HEIC, and there is a play button to play de MOV part.
- As it is for now, my plugin only sees the HEIC, not the MOV
- When uploading the MOV only, it works as expected. Immich shows it as a video, and also my plugin sees it as a video.
In my dev environment I got it working correctly now. When clicking on the thumbnail you will see the still photo (an Immich preview of the original HEIC). There will be a button on the bottom that will start playing the live part, the MOV.
I need some time to test it; hopefully a release next week.
Sietse
Here is an updated version of gallery-for-immich.php: https://github.com/vogon1/immich-wordpress-plugin/blob/live-photos/gallery-for-immich.php
If you replace your version with this one, you will have support for live photos.
It works for me, I would appreciate it if you test this version and let me know what you think.
You may want to backup the old version, just to be sure 🙂
Sietse
Thanks for testing.
I am working on 2 other things, once those are finished I will make a new release.
Sietse