I tried to implement liipbundle in symfony 2. But when I add this imagine_filter('thumbnail') into the image, it return an error:
Fatal error: Class 'Imagine\Gd\Imagine' not found in /home/piripz8g/public_html/app/cache/prod/appProdProjectContainer.php on line 588
this is my code in the config file:
liip_imagine:
resolvers:
default:
web_path: ~
filter_sets:
cache: ~
thumbnail:
quality: 75
filters:
thumbnail: { size: [120, 90], mode: outbound }
routing:
_liip_imagine:
resource: "@LiipImagineBundle/Resources/config/routing.xml"
appKernel:
new Liip\ImagineBundle\LiipImagineBundle(),
twig:
{{ asset(f.path|imagine_filter('thumbnail')) }}