@studiohyperdrive/strapi-plugin-media
This is the description of the plugin.
Last updated 2 years ago by tom-odb .
MIT · Original npm · Tarball · package.json
$ cnpm install @studiohyperdrive/strapi-plugin-media 
SYNC missed versions from official npm registry.

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"
  }
}

Current Tags

  • 0.0.9                                ...           latest (2 years ago)

9 Versions

  • 0.0.9                                ...           2 years ago
  • 0.0.8                                ...           2 years ago
  • 0.0.7                                ...           2 years ago
  • 0.0.6                                ...           2 years ago
  • 0.0.5                                ...           2 years ago
  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Downloads
Today 0
This Week 2
This Month 2
Last Day 1
Last Week 1
Last Month 3
Dependencies (11)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |