strychni0x Media Bridge for Nextcloud
strychni0x Media Bridge for Nextcloud adds a „Nextcloud“ tab to the WordPress media modal (the „Add Media“ dialog). From there an administrator can browse the folders of a configured Nextcloud account, preview the file names and import images into the WordPress media library with a single click.
Imported images become regular WordPress attachments (a copy is downloaded from Nextcloud), so they work with every theme, block and page builder without any further integration.
Features
- Adds a dedicated „Nextcloud“ tab to the media modal.
- Adds an „Import from Nextcloud“ button to the Media Library and the „Add New Media File“ screen, opening the browser in its own dialog.
- Browse Nextcloud folders via WebDAV.
- Thumbnail previews with a selectable source: use the Nextcloud preview endpoint (default), or have WordPress generate and cache the thumbnails itself (useful when your Nextcloud server has preview generation disabled).
- 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). - 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 Nextcloud 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 a Nextcloud server 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) Nextcloud instance.
What is sent, and when:
- When an administrator opens the „Nextcloud“ tab or clicks the connection test,
the plugin sends a WebDAV
PROPFINDrequest to the configured Nextcloud URL to list folder contents. The request includes the configured username and app password as an HTTP Basic authentication header. - When the „Nextcloud“ tab shows images, the plugin requests a thumbnail for
each image from the Nextcloud preview endpoint
(
/index.php/core/preview, authenticated) and proxies it to the browser. If that endpoint returns no preview, 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 Nextcloud URL you configure. All requests originate from your WordPress server, not from the visitor’s browser.
The data handling of that Nextcloud instance is governed by its own operator. Please refer to the documentation and privacy policy of your Nextcloud provider:
- Nextcloud: https://nextcloud.com/ – Privacy: https://nextcloud.com/privacy/
