[wordpress插件] Dropbox Photo SideloaderDropbox照片侧载器

wordpress 插件 文章 2020-04-22 09:41 0 35 全屏看文
评分
54
描述

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

在“添加媒体”屏幕上添加一个新标签,允许您将图像从Dropbox拖入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.

侧载图片时,是将其直接从Dropbox复制到WordPress。

So if you keep your images in Dropbox, this plugin allows you to easily copy those images into WordPress.

因此,如果您将图片保存在Dropbox中,则可以使用此插件轻松将这些图片复制到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.

将图像侧面加载到WordPress中之后,您会在媒体库中找到它,并可以在图库中使用,或者在“帖子”中以图像的形式使用,也可以随便使用。

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.
    • 此插件使用https://github.com/Dropbox-PHP/dropbox-php中的Dropbox PHP代码(尽管稍作修改)。

    • This plugin uses the jsTree Javascript library from http://www.jstree.com/.
    • 此插件使用http://www.jstree.com/中的jsTree Javascript库。

    • The three image icons come from the Lullacon Pack 1: http://www.lullabot.com/articles/free-gpl-icons-lullacons-pack-1
    • 这三个图像图标来自Lullacon Pack 1:http://www.lullabot.com/articles/free-gpl-icons-lullacons-pack-1

安装步骤

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.
    • 在上传器弹出窗口中,单击右侧的新“ Dropbox图片”标签。

    • 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”.
      • 访问https://www.dropbox.com/developers/apps,然后单击“创建应用”。

      • 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.
      • 注意:您可以将应用保持为“开发”状态,除非需要使用该插件访问其Dropbox的人不止于此。

下载地址
https://downloads.wordpress.org/plugin/dropbox-photo-sideloader.zip
-EOF-