new: usr: Add opportunity to use profile picture. #4
This commit is contained in:
14
config/packages/flysystem.yaml
Normal file
14
config/packages/flysystem.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
flysystem:
|
||||
storages:
|
||||
mineseeker.media.storage:
|
||||
adapter: 'aws'
|
||||
options:
|
||||
client: 'Aws\S3\S3Client'
|
||||
bucket: 'mineseeker'
|
||||
prefix: 'media'
|
||||
mineseeker.cache.storage:
|
||||
adapter: 'aws'
|
||||
options:
|
||||
client: 'Aws\S3\S3Client'
|
||||
bucket: 'mineseeker'
|
||||
prefix: 'cache'
|
||||
21
config/packages/liip_imagine.yaml
Normal file
21
config/packages/liip_imagine.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
liip_imagine:
|
||||
driver: gd
|
||||
loaders:
|
||||
default:
|
||||
flysystem:
|
||||
filesystem_service: mineseeker.media.storage
|
||||
cache: minio_cache
|
||||
resolvers:
|
||||
minio_cache:
|
||||
flysystem:
|
||||
filesystem_service: mineseeker.cache.storage
|
||||
root_url: '%env(MINIO_PUBLIC_URL)%/mineseeker/cache'
|
||||
cache_prefix: 'liip'
|
||||
filter_sets:
|
||||
avatar_thumb:
|
||||
quality: 85
|
||||
filters:
|
||||
thumbnail:
|
||||
size: [ 150, 150 ]
|
||||
mode: outbound
|
||||
strip: ~
|
||||
Reference in New Issue
Block a user