Plugin to select the custom image crop area

I've defined the custom thumbnail sizes and set it up in a mu-plugins script.

?php
function penge_features() {
    add_theme_support('post-thumbnails');
    add_image_size('Homepage Carousel', 1210, 540, true); // new
    add_image_size('Article Hero', 800, 267, true); // new
    add_image_size('Landing Page Hero', 1210, 300, true); // new
    add_image_size('1/3 Tile', 390, 350, true); // new
    add_image_size('1/2 Tile Desktop', 290, 350, array('center', 'center' )); // new - Home page, image required
    add_image_size('1/2 Tile Tablet', 188, 350, array('center', 'center' )); // new - Home page, on some tablets
    add_image_size('tyle', 350, 350, array('center', 'center' )); // Current - tile image size, Home page and sub pages
}

add_action('after_setup_theme', 'penge_features');

?

The image's crop version/variation is specified programmatically in a template so I'm not talking about images being inserted into a body of a post within Gutenberg.

How can I manually specify which area of the picture is being cropped to for each thumbnail size. Not programmatically but so that when an admin uploads a photo, they can specify the area of photo for to be cropped for one of the thumbnail sizes specified above?

Topic cropping images Wordpress

Category Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.