background img
Jun 14, 2020
90 Views
0 0

How to import external image in wordpress

Written by

Image in WordPress Do you want to import images into WordPress? Whenever you are moving from one platform to another, WordPress provides an easy way to import all your content.

But the problem arises for your images. Because some of your images are not imported or linked to old sources.

In this article, I will tell you how to Import External Images in WordPress.

How to import external images in WordPress

Here I will tell some best methods for importing images…. So, let us see how you can easily import images into WordPress without advanced knowledge.

1. Using WordPress Importer Image in WordPress

This method can help you when you move from one host to another or move your content from one WordPress site to another WordPress site.

WordPress importers try to import images along with your posts. You can check your import images by going to Media >> Library page of your WordPress site.

But first, you have to export your old website. Log into your old site (move your site to the old host), click on Tools >> Export and select All content and then hit Download Export File. You can see it in the screenshot below.

Export

When you click on Download Export File, it will start downloading your file.

Now, login to your new WordPress site (go to the new host again). Click Tools >> Import and install WordPress importer.

WordPress-importer

After installing, click on Run Importer.

Click on Run

Now, select your XML file to upload, then click on Upload file and import.

Choose your file

WordPress importer will provide an option to assign authors or you can create a new account for each authors post.

Now check the Download and import file attachments to import all the attachments (images) attached to the post and page.

Import-Attachments

It will start importing images into the media library. After importing data with WordPress Importer, if some of your images are not imported, then you go to the next step.

2. Importing External Images using Auto Upload Images

First of all, install and activate the Auto Upload Images plugin on your WordPress site.

After activating, click Settings >> Auto Upload Images. The plugin allows you to set filename, image alt tag, image size, and exclude post types. You can see the screenshot below.

Auto Upload Images settings

The default settings work well for most users, but you can change as per your requirement. Once you have made the settings, click on the Save Changes button to store your settings.

Next, you will need to update your post or page which contains external images. This is a manual process, it may take you some time.

After a successful update, you can see the external image URLs will be updated with your current domain target.

If you have a lot of content, you can use the WordPress Bulk Edit feature to save your time and you can increase the number of per page posts.

Image in WordPress

3. Using the Import External Images Plugin

First, install and activate the import external images plugin into your site.

Then After activating the plugin, click on Media >> import images. Next, you have to click on the import images Now button. As you can see in the screenshot below,

Image in WordPress

This will start importing your external images into WordPress and this process will depend on the number of external images.

4. Importing Image Manually into WordPress

Image in WordPress If the above method is not working, then you can manually import external images.

First, log in to your hosting cPanel and then click on file manager or you can connect your site to FTP.

Now go to the root directory (public_html or www) >> wp-content / uploads.

Image in WordPress

This is the folder that stores all media files uploaded to WordPress. In the screenshot, we have three such folders: 2017, 2018, and 2019. Each of them has uploaded media files.

Just, you have to download them to your computer. If you are using cPanel, you will have to compress them and download the zip file first.

Image in WordPress

With FTP, you can download folders (2019, 2018 and 2017) without compressing them.

Upload your images to your new WordPress site

Upload the downloaded folder to your new WordPress site (wp-content / uploads). For this, you will have to log in to your new site via FTP. If you have uploaded compressed files, extract it.

If the size of your file is small, you can upload it via cPanel.

Also Read:-

Article Tags:
Article Categories:
WordPress · WordPress Tricks and Tips

Leave a Reply

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


The maximum upload file size: 300 MB.
You can upload: image, audio, video, document, text, other.
Links to YouTube, Facebook, Twitter and other services inserted in the comment text will be automatically embedded.