How to get the largest image based on a thumbnail in wordpress

I have the URL access of the thumbnail of an image. Now, I want to get the largest image based on the thumbnail image on the URL but I can’t locate this largest image.

I checked the wordpress image sizes and saw that the largest image is 1024×1024. My image is:

www.domain.com/wp-content/uploads/2017-04-sample-image-370×370.jpg

I tried to change the dimension to:

www.domain.com/wp-content/uploads/2017-04-sample-image-1024×1024.jpg

But, it did not work as I expected. Also, I searched the image name in products and media gallery but can’t find it.

Is there a way do it?

Read more here: How to get the largest image based on a thumbnail in wordpress

Leave a Reply

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