0.1.0 • Published 3 years ago
strapi-plugin-external-media v0.1.0
strapi-plugin-external-media
A plugin for Strapi Headless CMS that allow adding media externally by url.
Installation
yarn add strapi-plugin-external-media
yarn build
The Add External Media plugin should appear in the Plugins section of Strapi sidebar after you run app again.
Supported Strapi versions:
- Strapi v3.6.6 (recently tested)
How it work
It accept urls from API and directly insert the url into upload plugin's file table, which can completely bypass upload plugin's optimzing and hosting. Allow using own cdn or media optimzer.
The UI for uploading url is basiclly same as upload plugin's upload url UI.
Possible response codes
200
- Successful.400
- Bad Request. Occurs when image not found or can not read media's metadata.
Contributing
Feel free to fork and make a Pull Request to this plugin project. All the input is warmly welcome!
0.1.0
3 years ago