diff --git a/ideas.md b/ideas.md new file mode 100644 index 0000000..0bee446 --- /dev/null +++ b/ideas.md @@ -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.