Title: Central Media Library For Network Websites
Author: Kirtikumar Solanki
Published: <strong>9. februar, 2025</strong>
Last modified: 3. november, 2026

---

Søk i utvidelser

![](https://ps.w.org/central-media-library-for-network-websites/assets/banner-772x250.
png?rev=3361229)

![](https://ps.w.org/central-media-library-for-network-websites/assets/icon-256x256.
png?rev=3361072)

# Central Media Library For Network Websites

 Av [Kirtikumar Solanki](https://profiles.wordpress.org/solankisoftware/)

[Last ned](https://downloads.wordpress.org/plugin/central-media-library-for-network-websites.1.2.1.zip)

 * [Detaljer](https://nb.wordpress.org/plugins/central-media-library-for-network-websites/#description)
 * [Omtaler](https://nb.wordpress.org/plugins/central-media-library-for-network-websites/#reviews)
 *  [Installering](https://nb.wordpress.org/plugins/central-media-library-for-network-websites/#installation)
 * [Utvikling](https://nb.wordpress.org/plugins/central-media-library-for-network-websites/#developers)

 [Brukerstøtte](https://wordpress.org/support/plugin/central-media-library-for-network-websites/)

## Beskrivelse

**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](https://profiles.wordpress.org/solankisoftware/).

Donations are welcome via [PayPal](https://paypal.me/kirtikumar89).

## Installasjon

 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.

## Ofte stilte spørsmål

### 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.

## Vurderinger

![](https://secure.gravatar.com/avatar/974fb56f152b2e7cc8b3a287282c0775c21ff7e6b9437dded6bf55a20f6b17c8?
s=60&d=retro&r=g)

### 󠀁[Errors in admin and missing images](https://wordpress.org/support/topic/errors-in-admin-and-missing-images/)󠁿

 [John Titor](https://profiles.wordpress.org/j0hntitor/) 20. juli, 2026 2 svar

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?

![](https://secure.gravatar.com/avatar/2255652fa591f3cd9c9ec85c3b97c0debf0b5dd2c2390e90c62ef213a34fa7d6?
s=60&d=retro&r=g)

### 󠀁[so far, so good](https://wordpress.org/support/topic/so-far-so-good-1292/)󠁿

 [rapidasia](https://profiles.wordpress.org/rapidasia/) 26. januar, 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

![](https://secure.gravatar.com/avatar/1ee02953d115a4698514e1892cbb3ef73c5a70c1783df2342ba0097a68316f4b?
s=60&d=retro&r=g)

### 󠀁[Essential plugin for multisite](https://wordpress.org/support/topic/essential-plugin-for-multisite/)󠁿

 [jcnooo](https://profiles.wordpress.org/jcnooo/) 18. januar, 2026

Great plugin for mutualize medias in multilingual multisite website. Thanks for 
your reactivity when there is a bug.

![](https://secure.gravatar.com/avatar/b37f339ed5d97afbf8989614bcdde4710e929150f7a1cbc35e963e4742f9b20f?
s=60&d=retro&r=g)

### 󠀁[It Just Works!](https://wordpress.org/support/topic/it-just-works-876/)󠁿

 [oslafodillepa](https://profiles.wordpress.org/oslafodillepa/) 12. januar, 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!

![](https://secure.gravatar.com/avatar/90cf4153224d35b03c3ae798f74a9b1ed29ffb08d70711353d384660fed598e3?
s=60&d=retro&r=g)

### 󠀁[So Helpful](https://wordpress.org/support/topic/so-helpful-145/)󠁿

 [Yasar Khalifa](https://profiles.wordpress.org/yasirkhalifa/) 25. august, 2025 
1 svar

Nice Idea and so helpful for development.

 [ Les alle 5 vurderinger ](https://wordpress.org/support/plugin/central-media-library-for-network-websites/reviews/)

## Bidragsytere og utviklere

«Central Media Library For Network Websites» er programvare med åpen kildekode. 
Følgende personer har bidratt til denne utvidelsen:

Bidragsytere

 *   [ Kirtikumar Solanki ](https://profiles.wordpress.org/solankisoftware/)

«Central Media Library For Network Websites» har blitt oversatt til 4 språk. Takk
til [oversetterne](https://translate.wordpress.org/projects/wp-plugins/central-media-library-for-network-websites/contributors)
for deres bidrag.

[Oversett «Central Media Library For Network Websites» til ditt språk.](https://translate.wordpress.org/projects/wp-plugins/central-media-library-for-network-websites)

### Interessert i utvikling?

[Bla gjennom koden](https://plugins.trac.wordpress.org/browser/central-media-library-for-network-websites/),
sjekk ut [SVN-repositoriet](https://plugins.svn.wordpress.org/central-media-library-for-network-websites/),
eller abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/central-media-library-for-network-websites/)
med [RSS](https://plugins.trac.wordpress.org/log/central-media-library-for-network-websites/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 1.2.1

 * New plugin release

## Meta

 *  Versjon **1.2.1**
 *  Sist oppdatert **2 uker siden**
 *  Aktive installasjoner **Færre enn 10**
 *  WordPress-versjon ** 5.8 eller nyere **
 *  Testet opp til **7.1.4**
 *  PHP-versjon ** 7.4 eller nyere **
 *  Språk
 * [Dutch](https://nl.wordpress.org/plugins/central-media-library-for-network-websites/),
   [English (US)](https://wordpress.org/plugins/central-media-library-for-network-websites/),
   [German](https://de.wordpress.org/plugins/central-media-library-for-network-websites/),
   [Russian](https://ru.wordpress.org/plugins/central-media-library-for-network-websites/)
   og [Swedish](https://sv.wordpress.org/plugins/central-media-library-for-network-websites/).
 *  [Oversett til ditt språk](https://translate.wordpress.org/projects/wp-plugins/central-media-library-for-network-websites)
 * Stikkord
 * [media library](https://nb.wordpress.org/plugins/tags/media-library/)[multisite](https://nb.wordpress.org/plugins/tags/multisite/)
 *  [Avansert visning](https://nb.wordpress.org/plugins/central-media-library-for-network-websites/advanced/)

## Vurderinger

 4.2 av 5 stjerner.

 *  [  4 5-stjerne-vurderinger     ](https://wordpress.org/support/plugin/central-media-library-for-network-websites/reviews/?filter=5)
 *  [  0 4-stjerne-vurderinger     ](https://wordpress.org/support/plugin/central-media-library-for-network-websites/reviews/?filter=4)
 *  [  0 3-stjerne-vurderinger     ](https://wordpress.org/support/plugin/central-media-library-for-network-websites/reviews/?filter=3)
 *  [  0 2-stjerne-vurderinger     ](https://wordpress.org/support/plugin/central-media-library-for-network-websites/reviews/?filter=2)
 *  [  1 1-stjerne-vurdering     ](https://wordpress.org/support/plugin/central-media-library-for-network-websites/reviews/?filter=1)

[Din omtale](https://wordpress.org/support/plugin/central-media-library-for-network-websites/reviews/#new-post)

[Se alle omtalene](https://wordpress.org/support/plugin/central-media-library-for-network-websites/reviews/)

## Bidragsytere

 *   [ Kirtikumar Solanki ](https://profiles.wordpress.org/solankisoftware/)

## Brukerstøtte

Saker løst siste to måneder:

     0 av 1

 [Vis brukerstøtteforumet](https://wordpress.org/support/plugin/central-media-library-for-network-websites/)

## Donér

Vil du støtte videreutviklingen av denne utvidelsen?

 [ Doner til denne utvidelsen ](https://paypal.me/kirtikumar89)