Skip to content

Storage

Panel > Systems > Storage

Image

Menu TitleKey NameDefault Key ValueValue TypeDescription
Storage Platformimage_servicepluginsPlugin application scenario parameter storage
Secret IDimage_secret_idstringExample: Upyun Operator Account
Secret Keyimage_secret_keystringExample: Upyun Operator Password
Secret Appimage_secret_appstring
Storage Configuration Nameimage_bucket_namestringExample: Upyun Service Name (Space Name)
Storage Configuration Regionimage_bucket_regionstringExample: Upyun, not needed, leave empty
Storage Configuration Domainimage_bucket_domainstringStarts with http:// or https://, without trailing /
Supported Extensionsimage_extension_namespng,gif,jpg,jpeg,bmp,heicstringSeparated by English commas ,
Supported Maximum Sizeimage_max_size5numberUnit: MB
Anti-leech Functionimage_url_statusfalsebooleanUse status
Anti-leech Keyimage_url_keystring
Anti-leech Signature Expirationimage_url_expire10numberUnit: minutes
Image Processing Positionimage_handle_positionendstring{empty} Not used
path-start Path start position
path-end Path end position
name-start Filename start position
name-end Filename end position (before the extension)
Configuration Image Parametersimage_thumb_configstringConfiguration image only
Proportional Thumbnail Parametersimage_thumb_ratiostringProportionally reduce or compress the image
Square Thumbnail Parametersimage_thumb_squarestringForce output of square thumbnail, will crop if not square
Original Image Compression Parametersimage_thumb_bigstringOriginal image compression

Video

Menu TitleKey NameDefault Key ValueValue TypeDescription
Storage Platformvideo_servicepluginsPlugin application scenario parameter storage
Secret IDvideo_secret_idstring
Secret Keyvideo_secret_keystring
Secret Appvideo_secret_appstring
Storage Configuration Namevideo_bucket_namestring
Storage Configuration Regionvideo_bucket_regionstring
Storage Configuration Domainvideo_bucket_domainstringStarts with http:// or https://, without trailing /
Supported Video Extensionsvideo_extension_nameswmv,rm,mov,mpeg,mp4,
3gp,flv,avi,rmvb
stringSeparated by English commas ,
Supported Maximum Sizevideo_max_size50numberUnit: MB
Supported Maximum Video Lengthvideo_max_time60numberUnit: seconds
Anti-leech Functionvideo_url_statusfalsebooleanUse status
Anti-leech Keyvideo_url_keystring
Anti-leech Signature Expirationvideo_url_expire10numberUnit: minutes
Video Transcoding Parametersvideo_transcode_parameterstring
Video Transcoding Parameter Handling Positionvideo_transcode_handle_positionstring{empty} Not used
path-start Path start position
path-end Path end position
name-start Filename start position
name-end Filename end position (before the extension)
Video Poster Parametersvideo_poster_parameterstring
Video Poster Parameter Handling Positionvideo_poster_handle_positionstring{empty} Not used
path-start Path start position
path-end Path end position
name-start Filename start position
name-end Filename end position (before the extension)

Audio

Menu TitleKey NameDefault Key ValueValue TypeDescription
Storage Platformaudio_servicepluginsPlugin application scenario parameter storage
Secret IDaudio_secret_idstring
Secret Keyaudio_secret_keystring
Secret Appaudio_secret_appstring
Storage Configuration Nameaudio_bucket_namestring
Storage Configuration Regionaudio_bucket_regionstring
Storage Configuration Domainaudio_bucket_domainstringStarts with http:// or https://, without trailing /
Supported Audio Extensionsaudio_extension_namesmp3,wav,m4astringSeparated by English commas ,
Supported Maximum Sizeaudio_max_size50numberUnit: MB
Supported Maximum Audio Lengthaudio_max_time60numberUnit: seconds
Anti-leech Functionaudio_url_statusfalsebooleanUse status
Anti-leech Keyaudio_url_keystring
Anti-leech Signature Expirationaudio_url_expire10numberUnit: minutes
Audio Transcoding Parametersaudio_transcode_parameterstring
Audio Transcoding Parameter Handling Positionaudio_transcode_handle_positionstring{empty} Not used
path-start Path start position
path-end Path end position
name-start Filename start position
name-end Filename end position (before the extension)

Document

Menu TitleKey NameDefault Key ValueValue TypeDescription
Storage Platformdocument_servicepluginsPlugin application scenario parameter storage
Secret IDdocument_secret_idstring
Secret Keydocument_secret_keystring
Secret Appdocument_secret_appstring
Storage Configuration Namedocument_bucket_namestring
Storage Configuration Regiondocument_bucket_regionstring
Storage Configuration Domaindocument_bucket_domainstringStarts with http:// or https://, without trailing /
Supported Extensionsdocument_extension_namesdoc,docx,xls,xlsx,csv,
ppt,pptx,pps,ppts,
pdf,
txt,md,markdown,
rar,zip,7z,
epub,mobi
stringSeparated by English commas ,
Supported Maximum Sizedocument_max_size10numberUnit: MB
Anti-leech Functiondocument_url_statusfalsebooleanUse status
Anti-leech Keydocument_url_keystring
Anti-leech Signature Expirationdocument_url_expire10numberUnit: minutes
Preview URL Ruledocument_online_previewstringSupports variable names {docurl} or
Supported Preview Extensionsdocument_preview_extension_namesdoc,docx,xls,xlsx,csv,ppt,pptx,pdfstring

Substitution

Menu TitleKey NameDefault Key ValueValue TypeDescription
Invalid Image Placeholderimage_substitutionfile
Invalid Video Placeholdervideo_substitutionfile
Invalid Audio Placeholderaudio_substitutionfile
Invalid Document Placeholderdocument_substitutionfile

Released under the Apache-2.0 License