• Resolved rutulshah

    (@rutulshah)


    Hi,

    This plugin looks good for those who would like to manage the image crops and stuff from the admin area. Is there any hook or api endpoint available which we can use to crop any image in the media library.

    If you check photon from Jetpack, it offers option to define crop area and size of picture required /wp-content/uploads/sites/2/2021/02/VIP-Team-2020.jpg?w=800&crop=100px,60px,450px,400px&resize=200,200&filter=sepia

    Is something similar available to do with this plugin too instead of manually editing each and every image?

Viewing 1 replies (of 1 total)
  • Plugin Author Iulia Cazan

    (@iulia-cazan)

    Hi,

    The plugin does not perform this type of crop for the image. However, you don’t have to manually edit every single image in your site. You can configure the plugin to crop a specific position for each sub-size, the run the bulk actions to regenerate all. For large set of files, you can use the wp-cli commands to that that in a more performant way.

    Hope this hepls.

    Regards,
    Iulia

Viewing 1 replies (of 1 total)
  • The topic ‘Is it possible to programmatically define crop areas?’ is closed to new replies.