Central Media Library For Network Websites

Description

Central Media Library For Network Websites is designed exclusively for WordPress Multisite.

It allows a network administrator to maintain a central collection of media and make selected media available to enabled subsites. When central media is used on a subsite, the plugin creates a site-specific attachment that references the central media source. This allows the media to work with WordPress features such as the Media Library, featured images, editors, and supported page builders.

The plugin is useful for multisite networks where several websites need to reuse the same images, videos, audio files, PDFs, and other supported media.

Important: This plugin does not automatically merge or move all existing media files from every subsite into one physical uploads directory. Existing subsite media is not migrated automatically. The plugin maintains central media records and creates linked attachment records for enabled sites.

Before updating the plugin, always take a complete backup of your WordPress files, database, and uploads.

How It Works

  1. Install and Network Activate the plugin on a WordPress Multisite network.
  2. Open Network Admin Central Media Settings.
  3. Select the subsites that should have access to the Central Media library.
  4. Optionally enable Site Upload Permission if users with the upload_files capability on enabled subsites should be allowed to add media to the central library.
  5. Use Network Admin Central Media to view and manage central media.
  6. Enabled subsites can open Media Central Media and reuse available central media.
  7. When central media is used on a subsite, the plugin creates a local attachment record linked to the central media item.

Features

  • Central media management for WordPress Multisite.
  • Enable or disable Central Media access per subsite.
  • Network-level Central Media library.
  • Site-level Central Media library for enabled subsites.
  • Upload media directly from the Central Media interface.
  • Optional permission for enabled subsites to upload media to the Central Media library.
  • Automatically register eligible media uploaded on enabled sites as central media when site uploads are permitted.
  • Automatically create linked attachment records for enabled sites when new central media is added.
  • Reuse central media from different subsites without uploading the same source media separately to each site.
  • Search central media by title or filename.
  • Pagination for large media libraries.
  • Display media preview, title, filename, media type, file size, upload date, source site, and usage information.
  • View which network sites are currently using a central media item.
  • Use central media from an enabled site’s Central Media screen.
  • Edit central media metadata including title, alt text, caption, and description.
  • Supports images, audio, video, documents, and other media types supported by WordPress uploads.
  • Works with WordPress Media Library attachment data.
  • Supports featured image usage.
  • Supports Grid View and List View compatibility through WordPress attachment integration.
  • Includes compatibility handling for Elementor and Elementor Pro.
  • Includes REST API endpoints for reading, using, and deleting central media.
  • Uses WordPress nonces and capability checks for administrative actions.
  • Keeps central media data when the plugin is uninstalled; media cleanup is intentionally not performed automatically.

Network Settings

Go to:

Network Admin Central Media Settings

Enabled Sites

Select the subsites that are allowed to access the Central Media library.

Only selected/enabled sites receive the Media Central Media interface and can use central media through the plugin.

The setting is controlled at the network level by the network administrator.

Site Upload Permission

Enable site upload

When enabled, users on enabled subsites who have the WordPress upload_files capability can upload media into the Central Media system.

When disabled, normal users on subsites cannot upload through the plugin’s Central Media upload interface. Network administrators can still manage and upload central media.

Recommendation: Leave this disabled if you want central media uploads to be controlled only by network administrators.

Network Admin

After network activation, network administrators can access:

Network Admin Central Media

Central Media Library

The network-level library provides:

  • Media preview.
  • Search by title or filename.
  • Media title.
  • Filename.
  • Media type.
  • File size.
  • Upload date.
  • Source site.
  • Number of sites using each media item.
  • List of sites using a media item.
  • Edit action.
  • Delete action.

Network administrators can also upload media directly to the Central Media library.

Edit Central Media

The Edit action allows a network administrator to update:

  • Title.
  • Alt Text.
  • Caption.
  • Description.

These values are saved to the source attachment and the central media record where applicable.

Delete Central Media

Only users with the manage_network capability can delete central media from the Central Media management screen.

Warning: Deleting a central media record removes the plugin’s central database record and usage records. Always make a backup before deleting important media.

The plugin’s uninstall routine does not automatically delete media files or central media records.

Subsite Usage

After a site is enabled in Network Admin:

Dashboard Media Central Media

becomes available to users with the required WordPress media permissions.

From the Central Media screen, an enabled site can:

  • Search central media by title or filename.
  • View media previews and information.
  • See the source site of a media item.
  • See how many sites use a media item.
  • Use a central media item on the current site.

When Use is selected, the plugin creates a site-specific WordPress attachment linked to the central media item. This makes the media available to WordPress functionality on that site.

If the current site already has a linked attachment for the same central media item, the plugin reuses the existing relationship instead of creating another one.

Upload Behaviour

There are two supported upload paths.

Network Admin Upload

A network administrator can upload directly from:

Network Admin Central Media

The uploaded file is stored using the main site’s WordPress upload configuration, and the media is registered in the central media library.

The plugin can then create linked attachment records for enabled sites.

Enabled Subsite Upload

If Site Upload Permission is enabled, an eligible user on an enabled subsite can upload media through the Central Media interface.

The upload is initially handled by the site where the upload occurs. The plugin registers that attachment as central media and can create linked attachment records on the other enabled sites.

Existing Media

Existing media uploaded before the plugin is activated is not automatically migrated or copied into the central media library.

Existing attachments remain on their original sites.

For existing media that you want to share through the Central Media system, use the plugin’s supported central-media upload/use workflow rather than assuming that old site media has been migrated automatically.

WordPress Editor and Page Builder Compatibility

The plugin integrates with WordPress attachment data so central media can be used by supported WordPress media functionality.

It includes compatibility handling for:

  • Classic Editor.
  • Gutenberg Editor.
  • Featured Images.
  • WordPress Media Library Grid View.
  • WordPress Media Library List View.
  • Elementor.
  • Elementor Pro.

Compatibility can depend on the version of WordPress, the page builder, the theme, and other installed plugins.

REST API

The plugin registers REST API routes under:

/wp-json/central-media/v1/

Available operations include:

  • GET /media — List central media.
  • GET /media/{id} — Get a central media item.
  • POST /media/{id}/use — Create/use the central media attachment on the current site.
  • DELETE /media/{id} — Delete a central media record when the current user has the required network permissions.

REST requests are protected by the plugin’s WordPress capability and site-access checks.

Developers should authenticate requests appropriately and should not expose authenticated REST requests to untrusted users.

Permissions

The plugin uses WordPress capabilities to control access.

Network Administrators

Users with the manage_network capability can:

  • Manage Central Media.
  • Change network settings.
  • Enable or disable sites.
  • Upload central media.
  • Edit central media metadata.
  • Delete central media.

Enabled Site Users

Users must have the appropriate WordPress media capability, normally upload_files, to use the site’s Central Media interface.

Subsite uploading also depends on the network administrator enabling Site Upload Permission.

Requirements

  • WordPress Multisite.
  • WordPress 4.7 or later.
  • PHP 7.0 or later.
  • Network activation.

This plugin does not support regular single-site WordPress installations.

Privacy

This plugin stores central media information such as:

  • Source site ID.
  • Source attachment ID.
  • Source URL.
  • Media title.
  • Filename.
  • MIME type.
  • File size.
  • User ID of the user who created the central record.
  • Creation and update timestamps.
  • Site usage relationships.

The plugin does not provide an external cloud media storage service. Media is handled using the WordPress installation’s own media and database infrastructure.

Site owners should review their network’s privacy requirements and installed plugins when determining their complete privacy obligations.

Data Storage

The plugin creates its own database tables for:

  • Central media records.
  • Central media usage by network sites.

These records are used to maintain relationships between central media and site-specific WordPress attachments.

Troubleshooting

Central Media is not visible on a subsite

Check that:

  1. The plugin is Network Activated.
  2. The subsite is selected under Network Admin Central Media Settings.
  3. The current user has the required WordPress media capability.
  4. The network settings were saved successfully.

Subsite users cannot upload central media

Check that:

  1. The subsite is enabled.
  2. Site Upload Permission is enabled.
  3. The user has the upload_files capability.

A media item is available centrally but not working correctly on a site

Check the source media, the site’s attachment record, WordPress upload configuration, and compatibility with the active theme/page builder. Clear relevant caches if the site uses an object, page, or CDN cache.

Before updating

Always back up:

  • WordPress database.
  • WordPress files.
  • wp-content/uploads.
  • Current plugin files.

Developer Notes

The plugin is structured into separate classes for administration, database operations, REST API handling, asset loading, and activation.

Developers can extend the plugin through standard WordPress hooks and APIs.

The REST namespace is:

central-media/v1

The plugin text domain is:

central-media-library-for-network-websites<h3>Credits</h3>

Developed by Kirtikumar Solanki.

Donations are welcome via PayPal.

Installation

  1. Install the plugin in /wp-content/plugins/.
  2. Open Network Admin Plugins.
  3. Activate Central Media Library For Network Websites across the network.
  4. Go to Network Admin Central Media Settings.
  5. Select the sites that should use Central Media.
  6. Optionally enable Site Upload Permission.
  7. Save the settings.
  8. Open Network Admin Central Media to manage central media.
  9. On an enabled subsite, open Media Central Media to reuse shared media.

The plugin must be Network Activated. Activating it only for an individual subsite is not supported.

FAQ

Does this plugin work on single-site WordPress?

No. The plugin is specifically designed for WordPress Multisite and requires network activation.

Which site stores media uploaded from Network Admin?

Uploads made from Network Admin are handled using the main site’s WordPress upload configuration.

Does the plugin physically move all media into one uploads folder?

No. The plugin does not automatically migrate all existing media or physically merge every site’s uploads directory. It maintains central media records and creates linked site-specific attachment records.

Can enabled subsites use central media?

Yes. A network administrator must first enable the site in Network Admin Central Media Settings.

Can subsite users upload central media?

Yes, if Site Upload Permission is enabled and the user has the WordPress upload_files capability.

Are existing subsite media files automatically added to the central library?

No. Existing media is not automatically migrated when the plugin is activated.

Does the plugin prevent duplicate files from being uploaded?

The plugin is intended to reduce the need for repeated uploads by allowing media to be reused across enabled sites. It does not perform a complete file-hash duplicate detection system for independently uploaded files.

Can I use central media as a featured image?

Yes. The plugin creates WordPress attachment records on enabled sites so central media can be used with supported WordPress features, including featured images.

Does it support Elementor?

The plugin includes compatibility handling for Elementor and Elementor Pro. Compatibility can still depend on the installed Elementor, WordPress, theme, and plugin versions.

Does it support Gutenberg and the Classic Editor?

Yes. The plugin integrates with WordPress attachment data and includes compatibility handling for both editors.

Does it support Media Library List View and Grid View?

Yes. The plugin includes attachment integration intended to support both WordPress Media Library views.

What happens when the plugin is uninstalled?

The uninstall routine intentionally does not remove central media records or source media files. This is designed to prevent accidental deletion of user media.

Who can change Central Media settings?

Network administrators with the manage_network capability.

Reviews

Июл 20, 2026
After the plugin activation, my admin pages show the following error notice: «The plugin generated 1015 characters of unexpected output during activation. If you noticed headers already sent messages, problems with syndication feeds or other issues, try deactivating or removing the plugin.» Aside from that, I am getting missing images in many places. I tried to investigate the code and noticed that the plugin is a poorly made fork from GitHub from HumanMade\SharedMedia. What is the point of copying already available free plugin and releasing it in WP repository?
Январ 26, 2026
Thanks for your work on this, very helpful pics added to mainsite – visible on subsite pics added to subsite – visible in mainsite media central library
Январ 12, 2026
Simple, clean and very useful for plenty of use cases involving Multisite setups—specially for multilingual sites where reusing pictorial content is a must!
Read all 5 reviews

Contributors & Developers

“Central Media Library For Network Websites” is open source software. The following people have contributed to this plugin.

Contributors

“Central Media Library For Network Websites” has been translated into 4 locales. Thank you to the translators for their contributions.

Translate “Central Media Library For Network Websites” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.2.1

  • Updated plugin documentation.
  • Clarified Central Media settings and upload permissions.
  • Clarified network and subsite media workflows.
  • Clarified existing media handling.
  • Improved documentation for WordPress, Elementor, REST API, permissions, and data storage.

1.2.0

  • Fixed plugin naming issues.
  • Added an update backup warning for safer upgrades.

1.1.9

  • Updated readme and compatibility text for Central Media Manager for Multisite.
  • Added safe attachment metadata handling for propagated central media items.
  • Improved media modal preview support for network sites.
  • Removed legacy type filter from the central library UI to simplify the site experience.
  • Added a backup warning for safe updates.
  • Added UI management from the admin side and network settings.
  • Added a Central Media tab to the plugin sidebar on network websites.

1.1.8

  • Fixed Elementor containers being automatically deleted.

1.1.7

  • Fixed featured image issues in the Classic Editor.
  • Fixed Elementor Pro conflict issues.
  • Improved compatibility with the Classic Editor and Gutenberg Editor.

1.1.6

  • Fixed broken image issues in Elementor Pro 3.3.4.2.

1.1.5

  • Fixed a fatal error in List View.

1.1.4

  • Fixed an issue where featured image data could not be retrieved when uploading an image.
  • Uploaded media is now displayed on the main site and all subsites and can be used across the network.
  • Media files uploaded before plugin activation are also displayed on the respective subsites after the plugin is activated.

1.1.3

  • Fixed a conflict with Elementor.

1.1.2

  • Fixed an issue preventing subsites from using media from the main site.
  • Fixed an issue where media was not visible in List View for non-primary sites.

1.1.1

  • Fixed bugs and improved stability.
  • Updated compatibility for WordPress 6.8.1.

1.0.0

  • Initial plugin release and submission to WordPress.org.