wordpress批量导入_如何在WordPress中导入外部图像
wordpress批量导入
Do you want to import external images in WordPress? If you have recently moved your website from one platform to another, then there is a good chance that you may have external images embedded on your pages. In this article, we will explain how to properly import those external images in WordPress.
是否要在WordPress中导入外部图像? 如果您最近将网站从一个平台移到了另一个平台,则很有可能在页面上嵌入了外部图像。 在本文中,我们将说明如何在WordPress中正确导入这些外部图像。
什么时候以及为什么需要导入外部图像? (When and Why You Need to Import External Images?)
External images are images embedded in your content that load from another website or URL different from your main site.
外部图像是嵌入到您的内容中的图像,这些图像是从另一个网站或不同于主站点的URL加载的。
Most commonly, WordPress users come across external images issue after migrating their website from other platforms like Blogger, Weebly, Joomla, or WordPress.com.
最常见的是,WordPress用户从其他平台(例如Blogger , Weebly , Joomla或WordPress.com)迁移其网站后,会遇到外部图片问题。
By default if you use one of the WordPress importers, then it will try to import images. You can see the imported images by visiting Media » Library page in your WordPress admin area.
默认情况下,如果您使用WordPress导入程序之一,则它将尝试导入图像。 您可以通过访问WordPress管理区域中的媒体»库页面来查看导入的图像。
If you see that all your images are already there, but the post URL is linking to the old source, then you don’t need this article. Instead, you need to update URLs using Velvet Blues Update URLs plugin.
如果您看到所有图像都已经存在,但是帖子URL链接到旧的来源,则不需要本文。 相反,您需要使用Velvet Blues更新URL插件更新URL 。
However if you don’t see images imported to your WordPress media library, then continue reading and we will show you how to import those external images.
但是,如果您没有看到导入到WordPress媒体库的图像,请继续阅读,我们将向您展示如何导入这些外部图像。
影片教学 (Video Tutorial)
If you don’t want to watch the video tutorial, then you can continue reading the text version below:
如果您不想观看视频教程,则可以继续阅读以下文本版本:
在WordPress中导入外部图像 (Importing External Images in WordPress)
First thing you need to do is to install and activate the Auto Upload Images plugin. For more details, see our step by step guide on how to install a WordPress plugin.
您需要做的第一件事是安装并激活自动上传图像插件。 有关更多详细信息,请参阅有关如何安装WordPress插件的分步指南。
Upon activation, you need to visit Settings » Auto Upload Images page to review the plugin settings.
激活后,您需要访问设置»自动上传图像页面以查看插件设置。
The default settings would work for most users, but you can change them as needed.
默认设置适用于大多数用户,但是您可以根据需要进行更改。
The plugin will import images to your default WordPress media uploads folder. You can change that by providing a different base URL. Other than that, it also allows you to set filename, image alt tag, image size, and exclude post types.
该插件会将图片导入您的默认WordPress媒体上载文件夹。 您可以通过提供其他基本URL进行更改。 除此之外,它还允许您设置文件名,图像alt标签,图像大小,并排除帖子类型。
Once you are done, don’t forget to click on the Save Changes button to store your settings.
完成后,请不要忘记单击“ 保存更改”按钮来存储您的设置。
Next, you will need to update the posts or pages containing the external images. Since this is a manual process, it can be tedious if you have a lot of content.
接下来,您将需要更新包含外部图像的帖子或页面。 由于这是一个手动过程,因此如果您有很多内容,可能会很乏味。
Luckily, there’s a quick way to update all posts with external images. Simply go to Posts » All Posts page and then click on the Screen Options button at the top.
幸运的是,有一种快速的方法可以用外部图像更新所有帖子。 只需转到帖子»所有帖子页面,然后单击顶部的屏幕选项按钮。
You need to increase the number to 999 in the ‘Number of items per page field’ field and click on the Apply button.
您需要在“每页项数”字段中将数字增加到999 ,然后单击“ 应用”按钮。
WordPress will reload the page, and this time it will show 999 posts at a time. Next, you need to select all your posts and then select Edit under the bulk actions menu.
WordPress将重新加载页面,这一次它将一次显示999个帖子。 接下来,您需要选择所有帖子,然后在批量操作菜单下选择编辑 。
After that you need to click the Apply button. WordPress will show you a quick edit box with all selected posts. You just need to click on the Update button, and WordPress will update all your posts.
之后,您需要单击“ 应用”按钮。 WordPress将显示一个带有所有选定帖子的快速编辑框。 您只需要单击“ 更新”按钮,WordPress就会更新您的所有帖子。
Remember, don’t change any of the settings in the bulk edit settings that you see. You just need to click Update.
请记住,请勿更改您看到的批量编辑设置中的任何设置。 您只需要单击更新。
This process will trigger the plugin to check all selected posts and import external images as it finds them.
此过程将触发插件检查所有选定的帖子,并在找到它们时导入外部图像。
If you have more than 999 posts, then you will need to visit the next page to select remaining posts.
如果您有999个以上的帖子,则需要访问下一页以选择剩余的帖子。
We hope this article helped you learn how to import external images in WordPress. You may also want to see our guide on how to fix common image issues in WordPress.
我们希望本文能帮助您学习如何在WordPress中导入外部图像。 您可能还想查看有关如何解决 WordPress中常见图像问题的指南。
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在Twitter和Facebook上找到我们。
翻译自: https://www.wpbeginner.com/plugins/how-to-import-external-images-in-wordpress/
wordpress批量导入
更多推荐


所有评论(0)