External files in Media Library

توضیحات

Add one or more files with their URLs under Media > “Add new media file”. In this way, you can add external files in all places where the media library is used.

Embed your files from Google Drive, YouTube, Vimeo, FTP, local paths or many other possible sources. Use them in your preferred editor such as Block Editor, Elementor, Divi, Classic Editor, WpBakery and many more.

Automatically synchronize the external files with your media library.

Support for other plugins

Use an external data source for product images in your WooCommerce-based store.

Sort your external files in folder of CatFolders, Filebird and Folderly or assign them into categories from Enhanced Media Library.

Mass-Import

You can import complete directories from any of the supported TCP protocols. Just enter the directory as path to import and the plugin will import any supported files from it. For very large directories there is also an automatically processed queue.

TCP Protocols

You can use the following TCP-protocols to import external files in your media library:

  • http://
  • https://
  • ftp://
  • ftps://
  • sftp://
  • ssh://
  • file://

Some of them require credentials, for http(s) it is optional.

Checks

The plugin checks for you automatically on a regular basis whether the external hosted files you have embedded are still available.

Repository, documentation and reliability

You find some documentations here.

The development repository is on GitHub.

Each release of this plugin will only be published if it fulfills the following conditions:

  • PHPStan check for possible bugs
  • Compliance with WordPress Coding Standards

عکس‌های صفحه

  • Field to add external files in Media > Add New Media File.
  • Dialog to add URLs of external files.

نصب

  1. Upload “external-files-in-media-library” to the “/wp-content/plugins/” directory.
  2. Activate the plugin through the “Plugins” menu in WordPress.

سوالات متداول

Can I prevent other WordPress-users from adding external files?

Yes, you can select under Settings > “External files in Media Library” which roles gets the ability to add external URLs as files.

Can I also embed password-protected external files?

Yes, but these files are integrated locally and not from the external URL so that your visitors can access them without any problems.

Can I embed files from FTP?

Yes, see our documentation.

Can I import complete directories?

Yes, you can. Just enter the directory to import.

Can I import from my local server?

Yes, you can. Simply enter the absolute path with file-protocol, e.g.: file:///var/www/path/to/file.png – see also our documentation.

Can I import external product images for WooCommerce?

Yes, simply enable the setting under Settings > “External files in Media Library” > WooCommerce. Add your external URLs
for images in the CSV you want to import as it is already possible with WooCommerce. They will be handled as
external files by this plugin. This also allows you to use all protocols supported by the plugin for importing these files.

Is there a WP CLI command?

Yes, there are many options on WP CLI, see our documentation.

Google tells me that the app is not verified when I connect Google Drive – why?

According to Google guidelines, an app that is used to connect to the Google Drive API is only checked and confirmed once it has 100 active users. As long as less than 100 active users use this function via this plugin, you will always see this message. You can confirm it via “unsecure” and still complete the connection of your Google Drive with your WordPress website.

نقد و بررسی‌ها

آکتوبر 2, 2024 5 پاسخ
Hi there,Wanted to give it a try but it took my site down![29-Sep-2024 09:00:07 UTC] PHP Fatal error: Uncaught TypeError: Unsupported operand types: string & int in /home/xxxxxxxxxxxxx.com/public_html/wp-includes/class-wp-rewrite.php:1036Stack trace:#0 /home/xxxxxxxxxxxxx.com/public_html/wp-includes/class-wp-rewrite.php(1410): WP_Rewrite->generate_rewrite_rules()#1 /home/xxxxxxxxxxxxx.com/public_html/wp-includes/class-wp-rewrite.php(1509): WP_Rewrite->rewrite_rules()#2 /home/xxxxxxxxxxxxx.com/public_html/wp-includes/class-wp-rewrite.php(1884): WP_Rewrite->refresh_rewrite_rules()#3 /home/xxxxxxxxxxxxx.com/public_html/wp-includes/rewrite.php(282): WP_Rewrite->flush_rules()#4 /home/xxxxxxxxxxxxx.com/public_html/wp-content/plugins/external-files-in-media-library/classes/eml/Controller/class-proxy.php(225): flush_rewrite_rules()#5 [internal function]: threadi\eml\Controller\Proxy::do_refresh()#6 /home/xxxxxxxxxxxxx.com/public_html/wp-content/plugins/external-files-in-media-library/classes/eml/class-transient.php(186): call_user_func()#7 /home/xxxxxxxxxxxxx.com/public_html/wp-content/plugins/external-files-in-media-library/classes/eml/class-transients.php(152): threadi\eml\Transient->display()#8 /home/xxxxxxxxxxxxx.com/public_html/wp-content/plugins/external-files-in-media-library/inc/admin.php(1241): threadi\eml\Transients->check_transients()#9 /home/xxxxxxxxxxxxx.com/public_html/wp-includes/class-wp-hook.php(324): eml_admin_notices()#10 /home/xxxxxxxxxxxxx.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()#11 /home/xxxxxxxxxxxxx.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()#12 /home/xxxxxxxxxxxxx.com/public_html/wp-admin/admin-header.php(303): do_action()#13 /home/xxxxxxxxxxxxx.com/public_html/wp-admin/plugins.php(624): require_once(‘/home/1340234.c…’)#14 {main}thrown in /home/xxxxxxxxxxxxx.com/public_html/wp-includes/class-wp-rewrite.php on line 1036
آگست 1, 2024 1 پاسخ
Highly recommend this plugin for anyone looking to enhance their media management with ease!
اپریل 12, 2024
This plugin simply does what it says it does.This allows me to have images hosted on a Discord channel directly on my Wordpress website without having to host a single one of them. If I could find just one little thing to add, it would be to see in real time which link is being processed. Bravo to the developer, great work !
خواندن تمامی 3 نقد و بررسی‌

توسعه دهندگان و همکاران

“External files in Media Library” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

“External files in Media Library” به 4 زبان ترجمه شده است. با تشکر از مترجمین برای همکاری و کمک‌هایشان.

ترجمه “External files in Media Library” به زبان شما.

علاقه‌ مند به توسعه هستید؟

کد را مرور کنید, را بررسی کنید مخزن SVN, یا مشترک شوید گزارش توسعه توسط RSS.

گزارش تغییرات

4.0.0

  • Added option to synchronize directories with files on every supported protocol
  • Added support for the plugins CatFolders, Filebird and Folderly to import files in specific folders of this plugins
  • Added support for the plugin Enhanced Media Library to add imported files to their categories
  • Added wrapper for all settings of this plugin for easier management in the future
  • Added custom intervals for any cron event this plugin delivers
  • Added option for import local files from chosen directory via queue (for very large directories)
  • Added support to add external SVG files
  • PHP 8.1 is now minimum requirement
  • Optimized styling of list of directory services
  • Optimized handling of import through directory services
  • Moved import tasks from general Files in own object Import which is now also a directory listing object
  • Multiple code optimizations
  • Extended support for YouTube channel imports
  • Extended help for using Imgur images
  • Renamed Directory Credentials to Directory Archive
  • Optimized hint if PHP-module zip is missing for the ZIP service
  • More hooks
  • Fixed error on import on any files from local hosting
  • Fixed to early loading of translations
  • Fixed error on GoogleDrive import which would break if a duplicate is detected
  • Fixed potential error of sodium encryption is used and failed
  • Fixed faulty check for existing schedules
  • Fixed missing check for duplicate YouTube videos during import of them
  • Fixed preview of files in FTP service (which also prevents the usage of FTP-files as service)
  • Fixed wrong “Go to logs” URL if import failed
  • Fixed typos

older changes