Importing image in a WordPress site is challenging for developers. There are multiple ways to import an image to media library. In this post we are going to see following.
- Import an image from external URL
- Upload to media library
- Change title and alt text of uploaded image
- Assign this image as featured image of a post