Replies: 1 comment
-
Hi,
You can try developing an extension that does this. (see related issue with
resources). This should be possible to do with an extension.
…-- Sorry for being brief, sent from my phone.
On Thu, 1 Feb 2024, 22:09 helmuter, ***@***.***> wrote:
Dear bpatrick,
in my photos I never use the IPTC Caption, only the Exif ImageDescription.
I inserted the following lines to MetadataLoader.js, to override the Caption
// TODO: clean up the three different exif readers,
// and keep the minimum amount only
const exif = ExifReader.load(data);
// here, I re-use the existing database entry Caption
if (exif.ImageDescription.value.length > 0 )
metadata.caption = exif.ImageDescription.value.toString().trim();
}
// continues with the original code
Thank you for the project, it is great! I owe you a chest of beer.
—
Reply to this email directly, view it on GitHub
<#824>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABZKA5WUBBGVEHCTAA7XVTDYRQAARAVCNFSM6AAAAABCVTC4Z6VHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWGE3DQMZRGE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear bpatrick,
in my photos I never use the IPTC Caption, only the Exif ImageDescription. I inserted the following lines to MetadataLoader.js, to override the Caption
Beta Was this translation helpful? Give feedback.
All reactions