Skip to content

jevantang/fresns-imagex

 
 

Repository files navigation

VolcEngine ImageX Integration for Fresns

中文介绍

Feature

  1. [Basic] File storage. You can save almost anything you like in ImageX
  2. [Powerful] Image processing. You can change your image processing to optimize the bandwidth.
  3. [Safe] Url signature. Guest can not get your file without a correct signature from your site.

Installation

  1. Install this plugin by typing plugin identity ImageX in your Control Panel. Typing php artisan market:require ImageX in your shell works also.
  2. Enable this plugin.
  3. Switch to your fresns storage configuration.

Configuration

Section Configuration Meaning Example
Server Config Service Provider Set to ImageX Integration ImageX Integration
Secret ID Your access key ID get from VolcEngine IAM AKbalabala
Secret Key Your secret access key get from VolcEngine IAM RaNd0mTeXT
Bucket Name Your service ID get from VolcEngine ImageX and AppID get from VolcEngine BAF Service0ID,123456
Bucket Area Your service region get from VolcEngine ImageX (1) cn-north-1
Bucket Domain Name Your service domain set in VolcEngine ImageX https://example.com
Filesystem Disk Set to remote remote
Function Config Anti Link Key Your url signature secret (2) rANd0mteXt
Valid minutes for sign Keep the value less then the value set in the page Anti Link Key mentioned.
Image Function Image Handle Position Set to path suffix padding path-end
Any other blank in this section Starts with ~tplv-, ends with file extension name ~tplv-Service0ID-t1.avif
Video Function Transcode Parameter Starts with ~tplv-, ends with file extension name ~tplv-Service0ID-t2.mp4
Transcode Parameter Handle Position Set to path suffix padding path-end
Poster Parameter Starts with ~tplv-, ends with file extension name ~tplv-Service0ID-t3.png
Poster Parameter Handle Position Set to path suffix padding path-end
Audio Function - Not supported. ImageX doesn't provide any audio processing function. But you can storage your audio file in ImageX.
Document Function - Supported. ImageX can storage any file you like.

(1) The value is properly one of cn-north-1, ap-singapore-1, us-east-1

(2) Configuration page https://console.volcengine.com/imagex/service_manage/http_config/{SERVICE_ID}/{DOMAIN}, e.g. https://console.volcengine.com/imagex/service_manage/http_config/dQw4w9WgXcQ/example.com. This plugin only supports method C.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 69.9%
  • JavaScript 16.5%
  • Blade 13.6%