You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I want to be able to quickly upload photos to my media endpoint but I want to do some normalization before they are saved to my public git repo. For example I want my images not to include location data and to be somewhat compressed.
Describe the solution you’d like
I would like to see a config option to register a middleware function that is able to modify files before they are uploaded to the store.
Describe alternatives you’ve considered
I currently do image normalization manually using squoosh.app. I looked at the endpoint-media package and didn't see any relevant configuration options.
The text was updated successfully, but these errors were encountered:
@aciccarello Take a look at #700. As it stands, the implementation allows you provide options per post type under the media option and apply Sharp resize options before uploading.
Is your feature request related to a problem? Please describe.
I want to be able to quickly upload photos to my media endpoint but I want to do some normalization before they are saved to my public git repo. For example I want my images not to include location data and to be somewhat compressed.
Describe the solution you’d like
I would like to see a config option to register a middleware function that is able to modify files before they are uploaded to the store.
Describe alternatives you’ve considered
I currently do image normalization manually using squoosh.app. I looked at the endpoint-media package and didn't see any relevant configuration options.
The text was updated successfully, but these errors were encountered: