AI助手支持GPT4.0
Scan your WordPress installation for all missing attachment files, download them from another WordPress installation and resize them with your defined image sizes.
扫描您的WordPress安装中所有丢失的附件文件,从另一个WordPress安装中下载它们,并使用定义的图像大小调整它们的大小。 p>
Know that the plugin will not create new media on your installation database, it’ll just use the existings entries of medias in your database to retrieve the physical files on another WordPress installation.
知道该插件不会在您的安装数据库上创建新媒体,它只会使用数据库中现有的媒体条目来检索另一个WordPress安装上的物理文件。 p>
E.g.: http://serverA.com have an entry for the mediaX in his database.
例如 strong>: http://serverA.com em>在他的数据库中具有 mediaX em>的条目。The path for the physical file is supposed to be http://serverA.com/wp-content/uploads/2013/06/mediaX.jpg but it’s not here.物理文件的路径应该为 http://serverA.com/wp-content/uploads/2013/06/mediaX.jpg em>,但此处未提供。If you know that this same media exists on http://serverB.com + the physical file, you can use this plugin on http://serverA.com, specifying如果您知道 http://serverB.com em> +物理文件上存在相同的媒体,则可以在 http://serverA.com em>上使用此插件,并指定http://serverB.com in the Server URL field and the plugin will search the file here: http://serverB.com/wp-content/ http://serverB.com em>在“服务器URL em>”字段中,插件将在此处搜索文件: http://serverB.com/wp-content/ uploads/2013/06/mediaX.jpg.uploads / 2013/06 / mediaX.jpg em>。If it find it, it will be downloaded here: http://serverA.com/wp-content/uploads/2013/06/mediaX.jpg.如果找到,它将在这里下载: http://serverA.com/wp-content/uploads/2013/06/mediaX.jpg em>。 p>Do you need this?您需要这个吗? h4>This plugin is useful if you have multiple instances of a same project installed on multiple servers.如果您在多个服务器上安装了同一项目的多个实例,则此插件很有用。 p>For example, a team of developers, each of them having a copy of the “master” installation located at the production server.例如,一组开发人员,每个开发人员都有一个位于生产服务器上的“主”安装副本。Periodically, the database of the “master” installation is given to the developers who update their code through a VCS定期将“主”安装的数据库提供给开发人员,这些开发人员通过 VCS a > (like SVN, GIT, Mercurial).>(例如SVN,GIT,Mercurial)。There is chance that the uploads folder is not versionned, which is good, so the plugin is useful here to download the medias from the “master” installation.可能没有对 uploads em>文件夹进行版本控制,这很好,因此,此插件在从“主”安装中下载媒体很有用。 p>How tu use it?您如何使用它? h4>In the admin, go to Tools/Import and choose the Attachment files importer.在管理员中,转到工具/导入 em>并选择附件文件 em>导入程序。From here, enter the URL of the WordPress installation that contain the physical files of medias and click Import.从此处输入包含媒体物理文件的WordPress安装的URL,然后单击导入 em>。 p>Existing files will not be overriden.现有文件不会被覆盖。 p>Debug调试 h4>The plugin is in an early stage and bugs may occurs.该插件尚处于早期阶段,可能会发生错误。If you want to show a detailled report of the importation process, add this line to your wp-config.php file:如果要显示有关导入过程的详细报告,请将此行添加到您的 wp-config.php strong>文件中: p>define('ATTACHMENT_FILES_IMPORT_DEBUG', true); define('ATTACHMENT_FILES_IMPORT_DEBUG',true); code> pre>
The path for the physical file is supposed to be http://serverA.com/wp-content/uploads/2013/06/mediaX.jpg but it’s not here.
物理文件的路径应该为 http://serverA.com/wp-content/uploads/2013/06/mediaX.jpg em>,但此处未提供。If you know that this same media exists on http://serverB.com + the physical file, you can use this plugin on http://serverA.com, specifying如果您知道 http://serverB.com em> +物理文件上存在相同的媒体,则可以在 http://serverA.com em>上使用此插件,并指定http://serverB.com in the Server URL field and the plugin will search the file here: http://serverB.com/wp-content/ http://serverB.com em>在“服务器URL em>”字段中,插件将在此处搜索文件: http://serverB.com/wp-content/ uploads/2013/06/mediaX.jpg.uploads / 2013/06 / mediaX.jpg em>。If it find it, it will be downloaded here: http://serverA.com/wp-content/uploads/2013/06/mediaX.jpg.如果找到,它将在这里下载: http://serverA.com/wp-content/uploads/2013/06/mediaX.jpg em>。 p>Do you need this?您需要这个吗? h4>This plugin is useful if you have multiple instances of a same project installed on multiple servers.如果您在多个服务器上安装了同一项目的多个实例,则此插件很有用。 p>For example, a team of developers, each of them having a copy of the “master” installation located at the production server.例如,一组开发人员,每个开发人员都有一个位于生产服务器上的“主”安装副本。Periodically, the database of the “master” installation is given to the developers who update their code through a VCS定期将“主”安装的数据库提供给开发人员,这些开发人员通过 VCS a > (like SVN, GIT, Mercurial).>(例如SVN,GIT,Mercurial)。There is chance that the uploads folder is not versionned, which is good, so the plugin is useful here to download the medias from the “master” installation.可能没有对 uploads em>文件夹进行版本控制,这很好,因此,此插件在从“主”安装中下载媒体很有用。 p>How tu use it?您如何使用它? h4>In the admin, go to Tools/Import and choose the Attachment files importer.在管理员中,转到工具/导入 em>并选择附件文件 em>导入程序。From here, enter the URL of the WordPress installation that contain the physical files of medias and click Import.从此处输入包含媒体物理文件的WordPress安装的URL,然后单击导入 em>。 p>Existing files will not be overriden.现有文件不会被覆盖。 p>Debug调试 h4>The plugin is in an early stage and bugs may occurs.该插件尚处于早期阶段,可能会发生错误。If you want to show a detailled report of the importation process, add this line to your wp-config.php file:如果要显示有关导入过程的详细报告,请将此行添加到您的 wp-config.php strong>文件中: p>define('ATTACHMENT_FILES_IMPORT_DEBUG', true); define('ATTACHMENT_FILES_IMPORT_DEBUG',true); code> pre>
If you know that this same media exists on http://serverB.com + the physical file, you can use this plugin on http://serverA.com, specifying
如果您知道 http://serverB.com em> +物理文件上存在相同的媒体,则可以在 http://serverA.com em>上使用此插件,并指定http://serverB.com in the Server URL field and the plugin will search the file here: http://serverB.com/wp-content/ http://serverB.com em>在“服务器URL em>”字段中,插件将在此处搜索文件: http://serverB.com/wp-content/ uploads/2013/06/mediaX.jpg.uploads / 2013/06 / mediaX.jpg em>。If it find it, it will be downloaded here: http://serverA.com/wp-content/uploads/2013/06/mediaX.jpg.如果找到,它将在这里下载: http://serverA.com/wp-content/uploads/2013/06/mediaX.jpg em>。 p>Do you need this?您需要这个吗? h4>This plugin is useful if you have multiple instances of a same project installed on multiple servers.如果您在多个服务器上安装了同一项目的多个实例,则此插件很有用。 p>For example, a team of developers, each of them having a copy of the “master” installation located at the production server.例如,一组开发人员,每个开发人员都有一个位于生产服务器上的“主”安装副本。Periodically, the database of the “master” installation is given to the developers who update their code through a VCS定期将“主”安装的数据库提供给开发人员,这些开发人员通过 VCS a > (like SVN, GIT, Mercurial).>(例如SVN,GIT,Mercurial)。There is chance that the uploads folder is not versionned, which is good, so the plugin is useful here to download the medias from the “master” installation.可能没有对 uploads em>文件夹进行版本控制,这很好,因此,此插件在从“主”安装中下载媒体很有用。 p>How tu use it?您如何使用它? h4>In the admin, go to Tools/Import and choose the Attachment files importer.在管理员中,转到工具/导入 em>并选择附件文件 em>导入程序。From here, enter the URL of the WordPress installation that contain the physical files of medias and click Import.从此处输入包含媒体物理文件的WordPress安装的URL,然后单击导入 em>。 p>Existing files will not be overriden.现有文件不会被覆盖。 p>Debug调试 h4>The plugin is in an early stage and bugs may occurs.该插件尚处于早期阶段,可能会发生错误。If you want to show a detailled report of the importation process, add this line to your wp-config.php file:如果要显示有关导入过程的详细报告,请将此行添加到您的 wp-config.php strong>文件中: p>define('ATTACHMENT_FILES_IMPORT_DEBUG', true); define('ATTACHMENT_FILES_IMPORT_DEBUG',true); code> pre>
http://serverB.com in the Server URL field and the plugin will search the file here: http://serverB.com/wp-content/ http://serverB.com em>在“服务器URL em>”字段中,插件将在此处搜索文件: http://serverB.com/wp-content/ uploads/2013/06/mediaX.jpg.uploads / 2013/06 / mediaX.jpg em>。If it find it, it will be downloaded here: http://serverA.com/wp-content/uploads/2013/06/mediaX.jpg.如果找到,它将在这里下载: http://serverA.com/wp-content/uploads/2013/06/mediaX.jpg em>。 p>Do you need this?您需要这个吗? h4>This plugin is useful if you have multiple instances of a same project installed on multiple servers.如果您在多个服务器上安装了同一项目的多个实例,则此插件很有用。 p>For example, a team of developers, each of them having a copy of the “master” installation located at the production server.例如,一组开发人员,每个开发人员都有一个位于生产服务器上的“主”安装副本。Periodically, the database of the “master” installation is given to the developers who update their code through a VCS定期将“主”安装的数据库提供给开发人员,这些开发人员通过 VCS a > (like SVN, GIT, Mercurial).>(例如SVN,GIT,Mercurial)。There is chance that the uploads folder is not versionned, which is good, so the plugin is useful here to download the medias from the “master” installation.可能没有对 uploads em>文件夹进行版本控制,这很好,因此,此插件在从“主”安装中下载媒体很有用。 p>How tu use it?您如何使用它? h4>In the admin, go to Tools/Import and choose the Attachment files importer.在管理员中,转到工具/导入 em>并选择附件文件 em>导入程序。From here, enter the URL of the WordPress installation that contain the physical files of medias and click Import.从此处输入包含媒体物理文件的WordPress安装的URL,然后单击导入 em>。 p>Existing files will not be overriden.现有文件不会被覆盖。 p>Debug调试 h4>The plugin is in an early stage and bugs may occurs.该插件尚处于早期阶段,可能会发生错误。If you want to show a detailled report of the importation process, add this line to your wp-config.php file:如果要显示有关导入过程的详细报告,请将此行添加到您的 wp-config.php strong>文件中: p>define('ATTACHMENT_FILES_IMPORT_DEBUG', true); define('ATTACHMENT_FILES_IMPORT_DEBUG',true); code> pre>
http://serverB.com em>在“服务器URL em>”字段中,插件将在此处搜索文件: http://serverB.com/wp-content/ uploads/2013/06/mediaX.jpg.uploads / 2013/06 / mediaX.jpg em>。If it find it, it will be downloaded here: http://serverA.com/wp-content/uploads/2013/06/mediaX.jpg.如果找到,它将在这里下载: http://serverA.com/wp-content/uploads/2013/06/mediaX.jpg em>。 p>Do you need this?您需要这个吗? h4>This plugin is useful if you have multiple instances of a same project installed on multiple servers.如果您在多个服务器上安装了同一项目的多个实例,则此插件很有用。 p>For example, a team of developers, each of them having a copy of the “master” installation located at the production server.例如,一组开发人员,每个开发人员都有一个位于生产服务器上的“主”安装副本。Periodically, the database of the “master” installation is given to the developers who update their code through a VCS定期将“主”安装的数据库提供给开发人员,这些开发人员通过 VCS a > (like SVN, GIT, Mercurial).>(例如SVN,GIT,Mercurial)。There is chance that the uploads folder is not versionned, which is good, so the plugin is useful here to download the medias from the “master” installation.可能没有对 uploads em>文件夹进行版本控制,这很好,因此,此插件在从“主”安装中下载媒体很有用。 p>How tu use it?您如何使用它? h4>In the admin, go to Tools/Import and choose the Attachment files importer.在管理员中,转到工具/导入 em>并选择附件文件 em>导入程序。From here, enter the URL of the WordPress installation that contain the physical files of medias and click Import.从此处输入包含媒体物理文件的WordPress安装的URL,然后单击导入 em>。 p>Existing files will not be overriden.现有文件不会被覆盖。 p>Debug调试 h4>The plugin is in an early stage and bugs may occurs.该插件尚处于早期阶段,可能会发生错误。If you want to show a detailled report of the importation process, add this line to your wp-config.php file:如果要显示有关导入过程的详细报告,请将此行添加到您的 wp-config.php strong>文件中: p>define('ATTACHMENT_FILES_IMPORT_DEBUG', true); define('ATTACHMENT_FILES_IMPORT_DEBUG',true); code> pre>
uploads/2013/06/mediaX.jpg
uploads / 2013/06 / mediaX.jpg em>。
If it find it, it will be downloaded here: http://serverA.com/wp-content/uploads/2013/06/mediaX.jpg.
如果找到,它将在这里下载: http://serverA.com/wp-content/uploads/2013/06/mediaX.jpg em>。 p>Do you need this?您需要这个吗? h4>This plugin is useful if you have multiple instances of a same project installed on multiple servers.如果您在多个服务器上安装了同一项目的多个实例,则此插件很有用。 p>For example, a team of developers, each of them having a copy of the “master” installation located at the production server.例如,一组开发人员,每个开发人员都有一个位于生产服务器上的“主”安装副本。Periodically, the database of the “master” installation is given to the developers who update their code through a VCS定期将“主”安装的数据库提供给开发人员,这些开发人员通过 VCS a > (like SVN, GIT, Mercurial).>(例如SVN,GIT,Mercurial)。There is chance that the uploads folder is not versionned, which is good, so the plugin is useful here to download the medias from the “master” installation.可能没有对 uploads em>文件夹进行版本控制,这很好,因此,此插件在从“主”安装中下载媒体很有用。 p>How tu use it?您如何使用它? h4>In the admin, go to Tools/Import and choose the Attachment files importer.在管理员中,转到工具/导入 em>并选择附件文件 em>导入程序。From here, enter the URL of the WordPress installation that contain the physical files of medias and click Import.从此处输入包含媒体物理文件的WordPress安装的URL,然后单击导入 em>。 p>Existing files will not be overriden.现有文件不会被覆盖。 p>Debug调试 h4>The plugin is in an early stage and bugs may occurs.该插件尚处于早期阶段,可能会发生错误。If you want to show a detailled report of the importation process, add this line to your wp-config.php file:如果要显示有关导入过程的详细报告,请将此行添加到您的 wp-config.php strong>文件中: p>define('ATTACHMENT_FILES_IMPORT_DEBUG', true); define('ATTACHMENT_FILES_IMPORT_DEBUG',true); code> pre>
This plugin is useful if you have multiple instances of a same project installed on multiple servers.
如果您在多个服务器上安装了同一项目的多个实例,则此插件很有用。 p>
For example, a team of developers, each of them having a copy of the “master” installation located at the production server.
例如,一组开发人员,每个开发人员都有一个位于生产服务器上的“主”安装副本。
Periodically, the database of the “master” installation is given to the developers who update their code through a VCS
定期将“主”安装的数据库提供给开发人员,这些开发人员通过 VCS a > (like SVN, GIT, Mercurial).>(例如SVN,GIT,Mercurial)。There is chance that the uploads folder is not versionned, which is good, so the plugin is useful here to download the medias from the “master” installation.可能没有对 uploads em>文件夹进行版本控制,这很好,因此,此插件在从“主”安装中下载媒体很有用。 p>How tu use it?您如何使用它? h4>In the admin, go to Tools/Import and choose the Attachment files importer.在管理员中,转到工具/导入 em>并选择附件文件 em>导入程序。From here, enter the URL of the WordPress installation that contain the physical files of medias and click Import.从此处输入包含媒体物理文件的WordPress安装的URL,然后单击导入 em>。 p>Existing files will not be overriden.现有文件不会被覆盖。 p>Debug调试 h4>The plugin is in an early stage and bugs may occurs.该插件尚处于早期阶段,可能会发生错误。If you want to show a detailled report of the importation process, add this line to your wp-config.php file:如果要显示有关导入过程的详细报告,请将此行添加到您的 wp-config.php strong>文件中: p>define('ATTACHMENT_FILES_IMPORT_DEBUG', true); define('ATTACHMENT_FILES_IMPORT_DEBUG',true); code> pre>
> (like SVN, GIT, Mercurial).
>(例如SVN,GIT,Mercurial)。
There is chance that the uploads folder is not versionned, which is good, so the plugin is useful here to download the medias from the “master” installation.
可能没有对 uploads em>文件夹进行版本控制,这很好,因此,此插件在从“主”安装中下载媒体很有用。 p>How tu use it?您如何使用它? h4>In the admin, go to Tools/Import and choose the Attachment files importer.在管理员中,转到工具/导入 em>并选择附件文件 em>导入程序。From here, enter the URL of the WordPress installation that contain the physical files of medias and click Import.从此处输入包含媒体物理文件的WordPress安装的URL,然后单击导入 em>。 p>Existing files will not be overriden.现有文件不会被覆盖。 p>Debug调试 h4>The plugin is in an early stage and bugs may occurs.该插件尚处于早期阶段,可能会发生错误。If you want to show a detailled report of the importation process, add this line to your wp-config.php file:如果要显示有关导入过程的详细报告,请将此行添加到您的 wp-config.php strong>文件中: p>define('ATTACHMENT_FILES_IMPORT_DEBUG', true); define('ATTACHMENT_FILES_IMPORT_DEBUG',true); code> pre>
In the admin, go to Tools/Import and choose the Attachment files importer.
在管理员中,转到工具/导入 em>并选择附件文件 em>导入程序。From here, enter the URL of the WordPress installation that contain the physical files of medias and click Import.从此处输入包含媒体物理文件的WordPress安装的URL,然后单击导入 em>。 p>Existing files will not be overriden.现有文件不会被覆盖。 p>Debug调试 h4>The plugin is in an early stage and bugs may occurs.该插件尚处于早期阶段,可能会发生错误。If you want to show a detailled report of the importation process, add this line to your wp-config.php file:如果要显示有关导入过程的详细报告,请将此行添加到您的 wp-config.php strong>文件中: p>define('ATTACHMENT_FILES_IMPORT_DEBUG', true); define('ATTACHMENT_FILES_IMPORT_DEBUG',true); code> pre>
From here, enter the URL of the WordPress installation that contain the physical files of medias and click Import.
从此处输入包含媒体物理文件的WordPress安装的URL,然后单击导入 em>。 p>Existing files will not be overriden.现有文件不会被覆盖。 p>Debug调试 h4>The plugin is in an early stage and bugs may occurs.该插件尚处于早期阶段,可能会发生错误。If you want to show a detailled report of the importation process, add this line to your wp-config.php file:如果要显示有关导入过程的详细报告,请将此行添加到您的 wp-config.php strong>文件中: p>define('ATTACHMENT_FILES_IMPORT_DEBUG', true); define('ATTACHMENT_FILES_IMPORT_DEBUG',true); code> pre>
Existing files will not be overriden.
现有文件不会被覆盖。 p>
The plugin is in an early stage and bugs may occurs.
该插件尚处于早期阶段,可能会发生错误。
If you want to show a detailled report of the importation process, add this line to your wp-config.php file:
如果要显示有关导入过程的详细报告,请将此行添加到您的 wp-config.php strong>文件中: p>define('ATTACHMENT_FILES_IMPORT_DEBUG', true); define('ATTACHMENT_FILES_IMPORT_DEBUG',true); code> pre>
define('ATTACHMENT_FILES_IMPORT_DEBUG', true); define('ATTACHMENT_FILES_IMPORT_DEBUG',true); code> pre>
define('ATTACHMENT_FILES_IMPORT_DEBUG',true);
code> pre>
attachment-files-importer
/wp-content/plugins/
attachment-files-importer code>文件夹上载到 / wp-content / plugins / code>目录 li>Activate the plugin through the ‘Plugins’ menu in WordPress通过WordPress中的“插件”菜单激活插件 li>Go to the Tools -> Import screen, click on Attachment Files转到“工具->导入”屏幕,单击“附件文件” li>
/ wp-content / plugins / code>目录 li>Activate the plugin through the ‘Plugins’ menu in WordPress通过WordPress中的“插件”菜单激活插件 li>Go to the Tools -> Import screen, click on Attachment Files转到“工具->导入”屏幕,单击“附件文件” li>
ol>
原文出处:http://www.sanshu.cn/a/3009.html
群主管理都是支付大佬