-
-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enhancement] Metadata Exif description field #1548
Comments
Lychee does not modify the uploaded files (which thus count as including adding metadata). As for the import, Can you double check where it exists in the exif data. This should help us see where to find it for https://github.com/LycheeOrg/php-exif |
Yes, reading the description from the image file is definitely supposed to work. We've had a bug in the code that handles it, but it was fixed nearly a year ago: #1117. If you are using an old version of Lychee though (such as 4.4.0), you would likely be affected. If you are using a more recent version, please provide us with Lychee diagnostics output as well as a sample image file that exhibits the problem and we'll see what the issue might be... |
Thanks for the fast response. I'm using 4.6.0 Attached diagnostics dump. Link to Google drive copy of image https://drive.google.com/file/d/1vMwxxD6SKPiI50WPj5Xq68Q8SxTWlBt3/view?usp=sharing |
Whoops... forgot the diagnostic. |
This is a bug in php-exif, our metadata extractor. Our preferred metadata extracting backend is Exiftool, and your image works fine with it. However, because according to your diagnostics you have The metadata extractor then falls back to the Imagick backend, which happens to have a small typo. Until we get it fixed in a future release (probably 4.6.2), you can fix it yourself by editing the file
Can you see a space between
This will fix it for you. Regarding the time zone, you can set it by editing the file |
Are you OK with us adding your image to our testsuite? |
Yes file to use the image |
Hi there, just an update. Lychee install came good, not sure what the problem was. |
Strange; it works here. I'll try to get the fix included in the next release (4.6.2, probably) so hopefully that will fix it for you without any additional effort on your side! |
Thanks very much. Will keep an eye out for the new version. |
Explain in a few words which functionality or improvements you would like to see in Lychee.
I'm just trialling Lychee at the moment. I notice that when uploading images the "description" field doesn't get imported even though it exists in the original file. Neither does it seem to get exported when downloading the file.
Is this intentional, or a bug? Any chance of a fix?
Or am I doing something wrong?
The text was updated successfully, but these errors were encountered: