Closed FinalDoom closed 2 years ago
OK, I've got a fix for you. If you want to try it out, replace the file Lychee/vendor/lychee-org/php-exif/lib/PHPExif/Mapper/Exiftool.php
in your Lychee install with the contents of https://raw.githubusercontent.com/LycheeOrg/php-exif/b3957c653595d5ad09c911f22859a01128ce3b3b/lib/PHPExif/Mapper/Exiftool.php
Wow that was fast. It works! Thanks!
Actually, I had the fix ready to go already after somebody reported it to us on Gitter a month ago; I just needed to test it.
Ah, perfect. I saw the Gitter after poking around trying to figure it out myself, but wasn't sure I'd be able to monitor it as effectively. Thanks for the help 😄
OK, I've got a fix for you. If you want to try it out, replace the file
Lychee/vendor/lychee-org/php-exif/lib/PHPExif/Mapper/Exiftool.php
in your Lychee install with the contents of https://raw.githubusercontent.com/LycheeOrg/php-exif/b3957c653595d5ad09c911f22859a01128ce3b3b/lib/PHPExif/Mapper/Exiftool.php
@kamil4 I haven't looked into the fix and what you have changed, but is this fix of general interest? If so, we should integrate it into the master branch, shouldn't we?
Sure; however, the bug is not in Lychee but in a dependency (one that we control, but still, it's a different repo). See https://github.com/LycheeOrg/php-exif/pull/36.
Is this fixed yet?
The PR against php-exif (https://github.com/LycheeOrg/php-exif/pull/36) is not merged. If you can review it an merge it that would be appreciated and then this issue can be closed.
Description is blank for every image I upload, whether through the UI or through sync, no matter the description. The image from #386 also has no description when uploaded.
Using docker lycheeorg/lychee:latest from July 11th 2021. @sha256:7e7f9c6d9cae99b80dcb3186f455c63884fcc2035e3fe4c749f20cc3272d2854 Problem in both firefox and chrome.
For example, with the image from #386:
Exiftool ran on the image from within the container shows the description before import:
and after import:
Diagnostics: