At times, cropping an image can leave out a person’s face; however, there is a new plugin available in the WordPress directory that solve that issue. My eyes are up here was authored by interconnectit, sanchothefat, Spectacula and AndyWalmsley. It’s easy to use and very intuitive, if you would like to install this for your photography portfolio or blog, then you can follow this short and simple guide!
Installation & Activation
Since the plugin is available in the WordPress.org repository, you can download it from the repository or downloading it via the Add New plugin page.
Instructions
You can use the plugin in two places your Edit Posts screen or in your Media Library.
Let’s add an image the old fashioned way and add it as a featured image to our post. Head on over to the Edit Post screen. Find the Featured image box and add a photo. You can use the following photograph by D Jabi as an example.
If you look at the Set Featured Image screen, on your right, you will be able to see the following panel:
You can click on the ‘Detect faces’ button in order to have the jQuery plugin to scan the image. Be aware that on some images, you might get the following error:
Then you can click on the ‘Add Hotspots’ button:
Adding Hotspots to an image can
Adding hotspots will help the plugin know where to crop. Keep in mind that faces may not be found on some images; thankfully, the hotspot feature can be used to our advantage. After that, all you need to do is click on the ‘Set featured image’ button.
And voilà! Your image will be cropped to the featured image size.
There you have it! You can keep an eye on My eyes are up here github page. Thanks for reading!