Skip to content

Conversation

@duncanmcclean
Copy link
Member

This pull request makes it possible for addons to register custom image manipulation presets, which can be generated via php please assets:generate-presets.

Addons can register presets like this:

Facades\Image::registerCustomManipulationPresets([
    'og_image' => ['w' => 1146, 'h' => 600],
    'twitter_image' => ['w' => 1200, 'h' => 600],
]);

Related: statamic/seo-pro#258

@jasonvarga jasonvarga merged commit e67789d into 5.x Oct 2, 2025
26 checks passed
@jasonvarga jasonvarga deleted the custom-image-presets branch October 2, 2025 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants