add ideas file

This commit is contained in:
André Menrath 2024-01-21 18:22:18 +01:00
parent aef872d06f
commit bdffa9aa83

21
ideas.md Normal file
View file

@ -0,0 +1,21 @@
# Focal Point
Support various focal point plugins, because on ActivityPub we have less control how images are rendered on the other side.
https://docs.joinmastodon.org/spec/activitypub/#focalPoint
## Image Background Focus Position
https://www.wordpress-focalpoint.com/
Meta field: `bg_pos_desktop`
Value: string, e.g. `50% 50%`, like the css option [object-position](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position)
## WP Smart Crop
https://www.wpsmartcrop.com/download/
Meta field if enabled for this image: `_wpsmartcrop_enabled` bool
Meta field: `_wpsmartcrop_image_focus`
Value: array with keys `top` and `left` which are floats.