媒体库
¥Media Library
媒体库是 Strapi 的功能,可显示 Strapi 应用中上传的所有资源并允许用户管理它们。
¥The Media Library is the Strapi feature that displays all assets uploaded in the Strapi application and allows users to manage them.
配置
¥Configuration
媒体库的一些配置选项在管理面板中可用,一些通过你的 Strapi 项目的代码处理。
¥Some configuration options for the Media Library are available in the admin panel, and some are handled via your Strapi project's code.
管理面板配置
¥Admin panel configuration
在管理面板中,可以通过全局设置使用一些媒体库设置来管理上传资源的格式、文件大小和方向。也可以直接通过媒体库配置视图。
¥In the admin panel, some Media Library settings are available via the Global Settings to manage the format, file size, and orientation of uploaded assets. It is also possible, directly via the Media Library to configure the view.
配置设置
¥Configuring settings
配置功能的路径: 设置 > 全局设置 > 媒体库。
¥Path to configure the feature: Settings > Global Settings > Media Library.
-
定义你选择的新媒体库设置:
¥Define your chosen new Media Library settings:
设置名称 指示 默认值 响应式友好上传 启用此选项将生成上传资源的多种格式(小、中、大)。
每种格式的默认大小可以是 通过代码配置。真的