May 30, 2024

Here’s how to ensure that your thumbnails look exactly the way you want them to. You’re going to be happy if you have ever asked this question. Can I change the position in which WordPress crops images?

Crop WordPress images to the desired position

Do you want to crop your image from the top, center, and bottom? FTP the code below into your functions file under the “Register Image sizes” area. By changing 800 and 400, you can change the width and height of your image. You can also name it what you want by replacing “yourimagenamehere.”

Please don’t do it if you have no experience with theme files. If you are comfortable, save a copy of the functions file on your local computer *just in case* something goes wrong.

View raw Add Featured Image Cropped top center hosted by

Positioning can be done using left, right, bottom, top, or center.

After adding this code to the functions file, you will want to regenerate all your thumbnails by using the regenerate thumbs plug-in.

Now, you can use this option to change the image size anywhere that an image size dropdown is available. Yay!

Download the latest version of the software.

Leave a Reply

Your email address will not be published. Required fields are marked *