How to find the largest images in wordpress post

I have wordpress post with multiple images which are of multiple sizes. I need to find the largest image from the images in the post & set it as featured image.

I know there are plugin that automatically sets the 1st image as featured image, but I need to set the largest images in post as the featured image. how can i do this.

Read more here:: How to find the largest images in wordpress post

Leave a Reply

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