LiipImagineBundle
LiipImagineBundle copied to clipboard
cache_prefix hard coded?
The cache_prefix seems to be hard coded to media/cache. The configuration is not applied correctly, but the value in the configuration must not be empty and php bin/console debug:config liip_imagine also shows the correct configuration. Tested in Symfony 7.1, is there a bugfix?
this is per resolver factory. on a quick look i don't see why it would not work, it should work e.g. for flysystem. with which resolver does it not work? can you provide a minimal configuration that reproduces the problem?
I confim that with this piece of config the issue appear (media/cache never explicit in config but result in process) :
liip_imagine: # valid drivers options include "gd" or "gmagick" or "imagick" driver: "imagick" cache: default default_filter_set_settings: format: webp webp: generate: true
controller:
redirect_response_code: 302
loaders:
default:
filesystem:
data_root: '%kernel.project_dir%/public/'
resolvers:
default:
web_path:
web_root: '%kernel.project_dir%/public/'
filter_sets:
my_thumb:
format: webp
quality: 50
filters:
scale:
to: 0.5
post_processors:
cwebp: { metadata: null, q: 70 }`
`