How to Force Manual Cropping in Optimole?

One important thing to note is that the smart cropping feature automatically detects the most appealing part of the image and uses it as the center of the cropped version. However, there may be situations where the algorithm's selection  doesn't match what we consider the most engaging part of the image.

In such cases, you can  manually force the desired part of the image to be displayed.

1

Download this site-specific plugin.

2

Navigate to Dashboard > Plugins > Add New.

3

Install and activate it as a regular plugin.

4

Navigate to Plugins > Plugin File Editor.

5

Select the Optimole skip smart cropping plugin.

6

Change the gravity of particular images by  replacing the 'image-filename' parameter with the name of the desired image file without extension; see the example below.

📝 Note: If you want to explore more behaviors, you can replace the 'Optml_Resize::GRAVITY_CENTER' with any of the options listed here.

Using Smart Cropping

Using Manual Cropping

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.