Multivides sinhronizācija


You can scan all files that are in uploads directory and see which ones are actually in Media Library and which ones are just sitting there. Then you can select files you want to import to the database and therefore make them available in Media Library.

You can also use FTP to upload your files to uploads directory and bring those files into Media Library. 


Please read before adding a support topic. Reviews are not intended for support or suggestions.

  1. “For developers”
    This plugin makes database changes (wp_posts and wp_postmeta tables), and it was primarily developed to help other developers that are aware of the consequences.

  2. “1 file first”
    Please be careful and try to import only one file first, to see if it works.

  3. “All at once”
    This plugin is focused on scanning, selecting, and importing all files at once. So it might not be great for huge amounts of files, since it can use up a lot of memory. Future versions will hopefully solve that problem. For now, you can try to go to Settings -> Media Sync and set it to scan only a specific directory.

  4. “Your setup is unique”
    Please keep in mind that each WordPress installation is unique, so it’s quite possible this plugin will not work in your case. If that happens, please turn on debugging in settings of this plugin, try to figure out why you have that problem, and then describe what you found in the Support section. The more details we have – it’s more likely the problem will be solved.

Ignored files

  • index.php,
  • various hidden files (.DS_Store, .htaccess),
  • WP generated thumbnails (files ending with for example -100×100.jpg),
  • WP generated scaled images (files ending with -scaled).

This is now configurable with a custom hook function and it can totally overwrite these rules or add additional ones.


  • Sākotnējā lapa
  • Failu atlases piemērs importēšanai
  • Notiek importēšana multivides bibliotēkā
  • Importēšana pabeigta


  1. Augšupielādējiet media-sync mapi mapē /wp-content/plugins/
  2. Aktivizējiet spraudni, izmantojot WordPress izvēlni Spraudņi


Stuck at importing / spins endlessly

Please try to increase max_execution_time (and/or memory_limit) in php.ini on server (as described here). Or if you have too many files, try going to Settings -> Media Sync and change “Scan directory” to some inner folder.

Files not showing up in Media Library

Please make sure “Dry Run” option is NOT checked. This is a safety mechanism to make sure you know what you’re doing, so be careful, try it first with just one file.

Doesn’t work

Please first try to turn on debugging by adding this: define('WP_DEBUG', true); to your wp-config.php and check Network tab in Chrome DevTools to see what is going on in the background. Then report actual errors since it’s hard to help without knowing the error which is causing the problem.


jūnijs 20, 2022
Updated the db links for all images I copied in upload directory, super.
maijs 24, 2022
Can you make add _msc meta as an option in plugin settings? I wanna keep my database as much lighter as it can, my library contain bunch of custom uploads and store both jpeg/webp version. Other plugins (woocommerce, rankmath...) already add load of row, my current db reach million row of data too soon! Thanks for useful solution!
maijs 14, 2022
I upload big media files straight to the server and then use this little beauty to sync it in wordpress otherwise there is no way I can access the file. Thank you for a great plugin!!!
marts 5, 2022
I googled a list of positive adjectives beginning with an "I". This plugin deserves them all. Thank you. This plugin is... Ideal Idyllic Illuminating Illustrious Imaginative Immaculate Immortal Immovable Immune Impartial Impassioned Impeccable Impenetrable Impervious Important Impressive Inalienable Incandescent Incomparable Incontrovertible Incredible Industrious Influential Informed Ingenious Innovative Inquisitive Insightful Integral Invaluable Inviting Iridescent Irreproachable
Lasīt 54 atsauksmes

Autori un izstrādātāji

“Multivides sinhronizācija” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.


“Multivides sinhronizācija” ir tulkots lokalizācijās 2. Paldies tulkotājiem par ieguldījumu.

Tulkot “Multivides sinhronizācija” savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls


  • Fix selecting multiple files without clicking on checkbox (e.g. shift-select).
  • Minor code cleanup.
  • Update supported WordPress version to 6.0.


  • Create a custom _msc record in wp_postmeta table to be able to differentiate files imported using this plugin. Could be useful to clean up the database later on.


  • Extend plugin access to “Editor” and “Author” roles.


  • If debugging is turned on, AJAX requests for import are now html which is rendered directly in UI.


  • New filter hook (media_sync_filter_before_update_metadata) which can be used to customize how metadata is updated or to run additional actions after file import.


  • Handle files with quotes (apostrophes) or other special characters in the file name.
  • Continue importing other selected files if there was an error with some of the files.
  • Show errors in UI instead of alert.


  • Better error handling and fallback when finding mime type


  • Fix meta data errors caused by invalid mime types


  • Much better error handling while importing


  • Optimized directory scanning to use less memory
  • New option to turn on debugging for this plugin
  • Changed parameters passed to media_sync_filter_is_scan_object_ignored hook function
  • Now requires PHP 5.5


  • Fix handling big (“-scaled.jpg”) images introduced in WordPress 5.3. These files will now be skipped and won’t be imported multiple times.
  • Add handy “Re-scan” button.


  • Fix issues when importing files containing special characters


  • Slight improvements with error handling in JavaScript


  • Always convert backslashes (“\”) to forward slashes (“/”) to fix various issues when using Windows Server.


  • Important backslash (“\”) vs forward slash (“/”) fix for use on Windows Server.


  • New option to set “Scan directory” in settings which will allow checking only certain sub directory.
  • New hook function media_sync_filter_is_scan_object_ignored which can be used to overwrite which files are ignored by default or to just skip additional files.


  • Fix Smart File Time on Windows server


  • Reduce the maximum number of items to import per batch from 20 to 10.
    So batch sizes are now: 1 (importing 1 to 10 items); 5 (importing 11 to 100 items) or 10 (importing more than 100 items)


  • [IMPORTANT] Date of imported Media Library items now defaults to the current date.
    But there are options to choose before importing and also a possibility to overwrite that using the custom hook.
  • New options page with the option to disable and hide “Dry Run”.
  • Fix Media Library filter that was showing all items when the filter didn’t find any result.


  • Reduce the number of items to import per batch


  • Support multisite network by changing required access capability from update_plugins to import


  • Vēl viens kļūdas get_current_screen labojums


  • Novērsta kļūda get_current_screen


  • Jauna iespēja attīrīt multivides bibliotēku no vienumiem, kuriem trūkst faktisko failu (izmantojot pielāgotu multivides bibliotēkas filtru)
  • Jauns filtrs, skenējot augšupielāžu direktoriju, var palīdzēt parādīt tikai failus, kuru trūkst multivides bibliotēkā


  • Fix PHP īsa masīva sintakse
  • Atjaunināts uz PHP versiju uz 5.4


  • Importētā multivides bibliotēkas vienuma datums tagad ir iestatīts, pamatojoties uz faila modifikācijas laika zīmogu


  • Pievienota spraudņa lokalizācija
  • Pievienots tulkojumu serbu valodā


  • Dažādi uzlabojumi un labojumi


  • Labot mapju un failu šķirošanu
  • Nelielas formulējuma izmaiņas un koda tīrīšana


  • Labojiet kļūdu aktivizēšanas laikā


  • Sākotnējās spraudņa funkcijas