Este plugin não foi testado com as 3 últimas grandes versões do WordPress. Pode já não ser suportado e pode ter problemas de compatibilidade quando usado com versões mais recentes do WordPress.

Attachment Files Importer

Descrição

Scan your WordPress installation for all missing attachment files, download them from another WordPress installation and resize them with your defined image sizes.

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.

E.g.: http://serverA.com have an entry for the mediaX in his database. 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. 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 in the Server URL field and the plugin will search the file here: http://serverB.com/wp-content/uploads/2013/06/mediaX.jpg. If it find it, it will be downloaded here: http://serverA.com/wp-content/uploads/2013/06/mediaX.jpg.

Do you need this?

This plugin is useful if you have multiple instances of a same project installed on multiple servers.

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 (like 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.

How tu use it?

In the admin, go to Tools/Import and choose the Attachment files importer. From here, enter the URL of the WordPress installation that contain the physical files of medias and click Import.

Existing files will not be overriden.

Debug

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:

define('ATTACHMENT_FILES_IMPORT_DEBUG', true);

Instalação

  1. Upload the attachment-files-importer folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to the Tools -> Import screen, click on Attachment Files

Avaliações

Este plugin não tem avaliações.

Contribuidores e programadores

“Attachment Files Importer” é software de código aberto. As seguintes pessoas contribuíram para este plugin:

Contribuidores

Traduza o “Attachment Files Importer” para o seu idioma.

Interessado no desenvolvimento?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.