Auto Crop Featured Image on Upload

I’m looking for a solution to automatically crop/resize a featured image on upload. Currently, I have to let all customer know to crop their images before upload so it looks correct, but this is a problem for none-tech savvy customers.

Do you have any current solutions to this problem that would make the featured image uploading process easier for customers?

Hi @santosfel5,

Thanks for reaching out.
You can specify the image size from the Settings > Media, so WordPress will crop the images in specified sizes.

Hope it helps.
Thanks

Thank you. The problem is with blog posts on page entry featured. If there is a portrait style featured image within a post, it’s too tall and you have to scroll down for a while before you get to the content. How can make it so that even portrait style images are cropped to a specified height so that it’s never too tall?

Hi @santosfel5,

You need add custom image size using the add_image_size method and call the image name using the_post_thumbnail( ‘your-specified-image-size’ ); where you need that. I would request you to go through the following article on this.


You may need to regenerate the image once again after you add the image size to get the older images cropped into that size. If you are not proficient in coding, I would suggest you hire a developer who can assist you to do the customization or you can avail of our newly launched service called One, where the customization questions are answered.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.