這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Dropbox Photo Sideloader

描述

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

螢幕截圖

  • Authorization screen
  • Files ready for sideloading

安裝

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.

常見問題

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.

評價

2016年9月3日
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?
2016年9月3日
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!
2016年9月3日
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 🙂
閱讀全部6個評價

貢獻者及開發者

“Dropbox Photo Sideloader” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Dropbox Photo Sideloader 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

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