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.

Dropbox Photo Sideloader

Descrição

Adds a new tab to the Add media screen, allowing you to pull images from Dropbox into WordPress.

“Sideloading” is a term given to differeniate from “uploading” or “downloading”. When you sideload an image, you’re copying it directly from Dropbox to WordPress. So if you keep your images in Dropbox, this plugin allows you to easily copy those images into WordPress.

After sideloading an image into WordPress, you’ll find it in the Media Library and available for use in Galleries, or as images in the Post, or just whatever you like. It’s just as if you uploaded them manually.

Note that sideloading many images at once may take more time than your webserver will allow. If this happens, just sideload them in smaller groups.

Credits:

  • This plugin uses the Dropbox PHP code (albeit modified slightly) from https://github.com/Dropbox-PHP/dropbox-php.
  • This plugin uses the jsTree Javascript library from http://www.jstree.com/.
  • The three image icons come from the Lullacon Pack 1: http://www.lullabot.com/articles/free-gpl-icons-lullacons-pack-1

Ecrãs

  • Authorization screen
  • Files ready for sideloading

Instalação

Setup:

  • Install the plugin.
  • Create a new post (or edit an old one), and click the Upload Media icon.
  • In the uploader popup, click the new “Dropbox Images” tab on the right.
  • If you’re logged in as an administrator, you’ll find configuration instructions. These only need to be followed one time.

Those configuration instructions are reproduced here, for clarity.

  • Visit https://www.dropbox.com/developers/apps and Click “Create an App”.
  • Give it a name and description.
  • Select “Full Dropbox” so that it can access all your files.
  • After the app has been created, copy the App Key and App Secret into the plugin config screen.
  • Note: You can leave the App in “Development” status unless more people than just you need to access their Dropboxes using the plugin.

Perguntas frequentes

I just see a blank screen with a Sideload button on the Dropbox Images tab

As of version 0.4, the Dropbox listing is displayed using Javascript and loaded via AJAX requests. This makes navigation simpler and faster.

So if you don’t see the loading message appear and then have the directory structure loaded for you, then something else may be interfering with the javascript on the page. Try disabling other plugins and/or switching to the default theme and seeing if it works there.

Avaliações

3 Setembro, 2016
This plugin prevents authentication to Dropbox of the UpdraftPlus back up plugin. The author of that plugin says “You should report it to the authors of those plugins. The culprit is loading a Dropbox library when it doesn’t need to use it – which then causes the problem when another plugin (in this case, UpdraftPlus), does need to use its own Dropbox library.” (https://wordpress.org/support/topic/cant-authenticate-to-dropbox). Sure enough, disabling Photo sideloader enables the authentication to proceed. By all accounts re-enabling it will prevent the authenication again, so I can’t use this plugin. Since it has not been updated from v0.6 for over 2 years, I somehow doubt if this will get fixed, but who knows?
3 Setembro, 2016
I have several clients who are real estate agents, so when they list a new property, they have a ton of new photos for me to add. The photos are stored in Dropbox and previously I was having to download them all and then FTP them up to the website. Now I can sideload them directly from Dropbox into the Media library of the website, completely bypassing my own computer. This plugin literally saves me hours!
3 Setembro, 2016
Especially now that Dropbox has added a File Requests feature, this Sideloader plugin is a lifesaver. Version 0.6 of the plugin is working just fine for me. No problem loading images with spaces in the filename – spaces were converted to hyphens once they arrived in WordPress Media Library. Thank you 🙂
Ler todas as 6 avaliações

Contribuidores e programadores

“Dropbox Photo Sideloader” é software de código aberto. As seguintes pessoas contribuíram para este plugin:

Contribuidores

Registo de alterações

0.6

  • WordPress Core now handles spaces in sideloaded images, allowing me to fix this issue in the plugin. Ref: https://core.trac.wordpress.org/ticket/16330
  • TODO: Support new media library properly with JS, instead of using the backwards-compatibility functionality.

0.5

  • Add preview panel on the right hand side of the screen for WordPress 3.5 users (who now have a bit of extra width to play with)
  • Fixed ordering of directories and items
  • Added uninstall script to remove the dbsideload settings on uninstall

0.4

  • Add new jsTree based file browsing and image icons.

0.3

  • Add error handling and error checking to the setup process (test for an invalid key/secret before saving them).
  • Change to use mobile version of the auth screen (looks better, IMO)
  • Add check for HTTPS/SSL support (Dropbox requires it, won’t work without it).

0.2

  • Fix issues with spaces and other url-encoded characters in image filenames not being sideloaded properly.
  • Add config screen

0.1

  • First version