Answer the question
In order to leave comments, you need to log in
Why Symfony LiipImagineBundle doesn't create previews?
<img src="{{ vich_uploader_asset(app.user, 'avatarFile')| imagine_filter('my_thumb')}}" data-image="{{ app.user.avatar }}" class="js-avatar-img"><
<img src="https://6vkusov.by/media/cache/resolve/preview_food_thumb/uploads/img/food/5926df9744d52.png">
vich_uploader: db_driver: orm mappings: user_avatar: uri_prefix: /uploads/img/avatars upload_destination: '%kernel.root_dir%/../web/uploads/img/avatars' namer: vich_uploader.namer_uniqid liip_imagine: resolvers: default: web_path: ~ filter_sets: cache: ~ my_thumb: quality: 75 filters: thumbnail: { size: [125, 125], mode: outbound } </blockquote>
Here is routing.yml_liip_imagine: resource: "@LiipImagineBundle/Resources/config/routing.xml"
Cleared cache php bin/console cache:clear --env=prod
did not help
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question