[symfony-users] link to images in css file with assetic

2011-06-11 Thread John Blobsmith
Hi, I use assetic with twig to insert a css file like this : {% stylesheets '@BundleCreator/Resources/Public/css/bundleCreator.css' %} link rel=stylesheet href={{ asset_url }} type=text/css media=all / {% endstylesheets %} It works well but I want insert an image in my css file like this

Re: [symfony-users] link to images in css file with assetic

2011-06-11 Thread Kris Wallsmith
You need to add the cssrewrite filter to your tag: {% stylesheets '@BundleCreator/Resources/Public/css/bundleCreator.css' filter='cssrewrite' %} On Jun 11, 2011, at 9:57 AM, John Blobsmith oliv.g...@gmail.com wrote: Hi, I use assetic with twig to insert a css file like this : {%