Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@studiohyperdrive/strapi-plugin-media

Package Overview
Dependencies
Maintainers
7
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@studiohyperdrive/strapi-plugin-media

This is the description of the plugin.

  • 0.0.9
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
7
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 14 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc