Module Description
What is the External Media module? External Media is a universal file picker module with support for Dropbox, Box, Google Drive, OneDrive, Instagram*, Unsplash*, AWS* or any remote URL* and many more and import them into Drupal.

Import high quality free stock photos with image services and integration with Webform module available in the premium version.

Get Media Library integration with the premium version and upload files right into your library and embed into content.

Form Element
The new form element would allow you to add external services such as Google Drive, Dropbox, Box, OneDrive, AWS, Unsplash, Instagram, Pixabay, Pexels and other services, in addition to regular file choose field.

All with just adding External Media module as a dependency.



This is how it could be done in your custom forms:

'#type' => (\Drupal::moduleHandler()->moduleExists('external_media')) ? 'external_media' : 'managed_file',

If you would like to force your module to use External Media add dependency to the module's .info file:

dependencies: - drupal:external_mediaImage and File fields
The module supports both File and Image field types and allows control of visibility of each plugin individually in addition to permissions. File extension and cardinality field settings are respected in popup widgets when supported.



* - available in the Premium version of the module.

Third-party contrib modules

* External Media Crop
* External Media Focal Point

Project Usage
86
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
The External Media module solves the problem of importing files from various external sources such as Dropbox, Google Drive, and Instagram into Drupal, as well as integrating with image services and the Webform module.
Data Name
external_media

OPENAI CHATBOT

OPENAI CHATBOT

09:03:31
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.