diff options
author | Ilja <ilja@ilja.space> | 2022-02-14 13:14:25 +0100 |
---|---|---|
committer | Ilja <ilja@ilja.space> | 2022-07-01 12:13:46 +0200 |
commit | cd316d7269a6cac1e9edb732b202343001b82399 (patch) | |
tree | 05a05342f28644c142bb7f280dcf928a8801c38a /docs/configuration | |
parent | 75f912c63f9a18e37f8ddbd403755b878467435a (diff) | |
download | pleroma-cd316d7269a6cac1e9edb732b202343001b82399.tar.gz pleroma-cd316d7269a6cac1e9edb732b202343001b82399.zip |
Use EXIF data of image to prefill image description
During attachment upload Pleroma returns a "description" field. Pleroma-fe has an MR to use that to pre-fill the image description field, <https://git.pleroma.social/pleroma/pleroma-fe/-/merge_requests/1399>
* This MR allows Pleroma to read the EXIF data during upload and return the description to the FE
* If a description is already present (e.g. because a previous module added it), it will use that
* Otherwise it will read from the EXIF data. First it will check -ImageDescription, if that's empty, it will check -iptc:Caption-Abstract
* If no description is found, it will simply return nil, just like before
* When people set up a new instance, they will be asked if they want to read metadata and this module will be activated if so
This was taken from an MR i did on Pleroma and isn't finished yet.
Diffstat (limited to 'docs/configuration')
-rw-r--r-- | docs/configuration/cheatsheet.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/configuration/cheatsheet.md b/docs/configuration/cheatsheet.md index 1e74d40e6..f1624b651 100644 --- a/docs/configuration/cheatsheet.md +++ b/docs/configuration/cheatsheet.md @@ -633,6 +633,12 @@ This filter only strips the GPS and location metadata with Exiftool leaving colo No specific configuration. +#### Pleroma.Upload.Filter.ExiftoolReadData + +This filter only reads metadata with Exiftool so clients can prefill the media description field. + +No specific configuration. + #### Pleroma.Upload.Filter.Mogrify * `args`: List of actions for the `mogrify` command like `"strip"` or `["strip", "auto-orient", {"implode", "1"}]`. |