WP set external URLs for thumbnail and featured images

With native WordPress, you need to upload the image to media library, then WordPress will automatically generate different size thumbnails, and you can specify the uploaded image as featured image.

Is there a way to generate different sizes thumbnails externally then hosting the images in a external server and use the external image URLs as featured images for WordPress posts? Ideally setting it through wp cli as I am currently creating posts with cli

1 Comment


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer