You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have several data loaders in flysystem. In the liip configuration, I can either set the default data loader for all filter sets, OR set a data loader within each filterset.
But I want to apply the same filter to multiple sets.
loaders:
flysystem_loader:
flysystem:
# this comes from flysystem.yamlfilesystem_service: default.storage# default loader to use for all filter setsdata_loader: flysystem_loaderfilter_sets:
auto_rotate: ~large_s3:
data_loader: s3.storagefilters:
thumbnail:
size: [400, 400]allow_upscale: truemode: insetlarge:
filters:
thumbnail:
size: [400, 400]allow_upscale: truemode: inset
in flysystem
flysystem:
storages:
default.storage:
adapter: 'local'options:
directory: '%kernel.project_dir%/src'uploads.storage:
adapter: 'local'options:
directory: '%kernel.project_dir%/private/uploads's3.storage:
adapter: 'aws'options:
client: 'Aws\S3\S3Client'# The service ID of the Aws\S3\S3Client instance,bucket: '%env(AWS_S3_BUCKET_NAME)%'streamReads: trueprefix: '%env(S3_STORAGE_PREFIX)%'
I know which flysystemOperator I have, I want to pass it into the imagine_filter filter in twig, and the cache->getBrowserPath() method in php, but there seems to be no way to indicate which datasource.
I see I can use a chain loader, but that could get expensive if I have multiple could-based loaders and it has to loop through them to find the right one.
Thoughts on how this might be done?
The text was updated successfully, but these errors were encountered:
I have several data loaders in flysystem. In the liip configuration, I can either set the default data loader for all filter sets, OR set a data loader within each filterset.
But I want to apply the same filter to multiple sets.
in flysystem
I know which flysystemOperator I have, I want to pass it into the
imagine_filter
filter in twig, and thecache->getBrowserPath()
method in php, but there seems to be no way to indicate which datasource.I see I can use a chain loader, but that could get expensive if I have multiple could-based loaders and it has to loop through them to find the right one.
Thoughts on how this might be done?
The text was updated successfully, but these errors were encountered: