umanit / liip-imagine-artgris-cache-resolver-bundle
Liip Imagine cache resolver for artgris uploaded images
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^7.3|^8.0
- liip/imagine-bundle: ~2.3
- symfony/framework-bundle: >=4.4
Suggests
- artgris/filemanager-bundle: Artgris file manager
README
This cache resolver adds a urldecode feature on the filepath to handle files uploaded with artgris.
Install
Install with composer :
composer require umanit/liip-imagine-artgris-cache-resolver-bundle
Register the bundle to your config/bundles.php :
<?php return [ // ... Umanit\LiipImagineArtgrisCacheResolverBundle\UmanitLiipImagineArtgrisCacheResolverBundle::class => ['all' => true], ];
Make sure to define the LIIP_IMAGINE_ROOT
env var in your Symfony .env
# Example :
LIIP_IMAGINE_ROOT=%kernel.project_dir%/public
Use this cache resolver in your Liip Imagine configuration :
liip_imagine: cache: umanit_artgris_resolver
and remove the default resolver configuration if it exists :
liip_imagine: resolvers: # this config is not needed anymore default: web_path: # ...