statamic / ideas

šŸ’”Discussions on ideas and feature requests for Statamic
https://statamic.dev
32 stars 1 forks source link

Improve focal point cropping for different ratios #821

Open stuartcusackie opened 2 years ago

stuartcusackie commented 2 years ago

When you want to use the same image for different aspect ratios you can run into problems with focal points.

Examples:

Possible solutions:

My current workaround is to just duplicate images so that we can have multiple focal points, but I worry that this will get messy over time.

Thanks.

jasonvarga commented 2 years ago

Can you provide an example image that would have different focal points? In general the whole premise of the focal point is so you can crop it at different sizes and see the important part.

jasonvarga commented 2 years ago

Those images all 404.

stuartcusackie commented 2 years ago

Sorry, we're currently in development so I keep changing the structure of the images, and so the urls are broken. I might have a better example when we launch. I have updated the original post above.