Liipimaginebundle in symfony project 4

0

I have the Liipimaginebundle bundle installed in a Symfony 4 project and after trying a thousand combinations in the configuration file:

config/packages/liip_imagine.yaml

I have not been able to make the image display work. I have read many posts that talk about this problem but I have not found any solution.

My configuration file config / packages / liip_imagine.yaml is as follows:

liip_imagine:
    driver: "gd"

    loaders:
        default:
            filesystem:
                data_root: "media/image"

    resolvers:
        default:
            web_path:
                web_root: "%kernel.project_dir%/public"
                cache_prefix: "media/cache"

The url of the images that are created are for example:

<img src="http://localhost:8009/media/cache/resolve/sylius_shop_product_large_thumbnail/da/9f/c71396fad5c120077fa0eac444f6.gif ...>

but the public / media / cache directory is not created at all.

Someone who works with Symfony 4 has this bundle worked?

    
asked by M. Galardi 31.10.2018 в 00:00
source

0 answers