strychni0x Media Bridge for Nextcloud & ownCloud
strychni0x Media Bridge adds a “Cloud” tab to the WordPress media modal (the “Add Media” dialog). From there an administrator can browse the folders of one or more configured cloud accounts, preview the file names and import images into the WordPress media library with a single click.
The plugin works with WebDAV-based clouds of the Nextcloud family:
- Nextcloud
- ownCloud
You can connect several accounts of mixed types at the same time and switch between them with a dropdown in the media dialog.
Imported images become regular WordPress attachments (a copy is downloaded from the cloud server), so they work with every theme, block and page builder without any further integration.
The interface is in English and fully translatable. A complete German translation (de_DE, incl. de_DE_formal) is bundled with the plugin.
Features
- Adds a dedicated “Cloud” tab to the media modal.
- Adds an “Import from cloud” button to the Media Library and the “Add New Media File” screen, opening the browser in its own dialog.
- Connect multiple Nextcloud / ownCloud accounts at once and pick which one to browse from a dropdown.
- Browse cloud folders via WebDAV.
- Thumbnail previews with a per-account selectable source: use the server’s native preview/thumbnail endpoint (default), or have WordPress generate and cache the thumbnails itself (useful when the server has preview generation disabled – and a reliable fallback for servers whose preview API differs).
- Paginated image listing for folders with many photos.
- Import images as standard WordPress attachments – one at a time or several at once via multi-select.
- Access restricted to administrators (the
manage_optionscapability). - Per-account connection test on the settings screen.
Access control
Every part of the plugin – the settings screen, the REST endpoints and the
JavaScript that renders the “Cloud” tab – requires the manage_options
capability. Non-administrators never receive the script and cannot call the
REST endpoints. The required capability can be changed with the
ncmb_required_capability filter.
External services
This plugin connects to the Nextcloud or ownCloud servers that you configure on the plugin settings screen. It is not a third-party hosted service operated by the plugin author; you point it at your own (or your organisation’s) cloud instances.
What is sent, and when:
- When an administrator opens the “Cloud” tab or clicks the connection test,
the plugin sends a WebDAV
PROPFINDrequest to the configured server URL to list folder contents. The request includes the configured username and app password as an HTTP Basic authentication header. - When the “Cloud” tab shows images, the plugin requests a thumbnail for each image from the server’s native preview/thumbnail endpoint (Nextcloud: /index.php/core/preview; ownCloud: the files thumbnail API – both authenticated) and proxies it to the browser. If that returns no preview, or if the account is set to “Generate in WordPress”, the plugin downloads the image via WebDAV once, generates a thumbnail on the WordPress server and caches it.
- When an administrator imports an image, the plugin sends a WebDAV
GETrequest (again authenticated) to download that single file.
No data is sent anywhere other than the server URLs you configure. All requests originate from your WordPress server, not from the visitor’s browser.
The data handling of each cloud instance is governed by its own operator. Please refer to the documentation and privacy policy of your provider:
- Nextcloud: https://nextcloud.com/ – Privacy: https://nextcloud.com/privacy/
- ownCloud: https://owncloud.com/ – Privacy: https://owncloud.com/privacy-policy/
