@studiohyperdrive/strapi-plugin-media

0.0.9 • Public • Published

Strapi plugin

Media manager plugin for the Strapi CMS.

Installation

1. copy media plugin to plugins folder

strapi_cms
|_ plugins
   |_ media

2. set upload path (& base) in config

Add custom config in custom.json:

{
  "uploadPath": "/public/uploads",
  "uploadHost": "https://my-server-url/",
  "uploadPublicPath": "/uploads",
}

uploadPath: location to store files on the server (defaults to /public/uploads) uploadBase: url prefix for uploaded files in case strapi is hosted on a custom url (defaults to strapi host) uploadPublicPath: public path where uploaded files can be found (defaults to uploads)

3. adjust request data limit

Increase data limit in environment/**/request.json if you need to upload bigger images (default is 1mb). Make sure enabled and multipart are true:

{
  "parser": {
    "enabled": true,
    "multipart": true,
    "formLimit": "5mb"
  }
}

Dependents (0)

Package Sidebar

Install

npm i @studiohyperdrive/strapi-plugin-media

Weekly Downloads

0

Version

0.0.9

License

MIT

Unpacked Size

850 kB

Total Files

64

Last publish

Collaborators

  • npieter
  • wouterheirstrate
  • ekincia
  • bertyhell
  • shd-developer
  • ian-emsens-shd
  • jeroenvalcke
  • tom-odb
  • brilniels
  • thomasbormans
  • sanderh
  • laurenspeeters
  • rednas
  • denisvalcke
  • ibenvandeveire