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

2011-06-16 Thread Kris Wallsmith
Including a stylesheet from a bundle that references an image that is also in the bundle is not supported at this time. The image in the bundle will not be moved to the web directory and will therefore not be available to the stylesheet there. I recommend you move your stylesheets and images

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

2011-06-15 Thread John Blobsmith
Thanks to reply. I do it : {% stylesheets '@BundleCreator/Resources/Public/css/bundleCreator.css' filter='cssrewrite' %} link rel=stylesheet href={{ asset_url }} type=text/css media=all / {% endstylesheets %} but it not works. The url genrate is /Resources/Public/images/ok.gif but my image

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

2011-06-15 Thread Ricky
I tried filter='cssrewrite', but still could not get the right path to the images file in CSSand finally, i give up assetic when css file include images path.. On Jun 12, 5:32 am, Kris Wallsmith kris.wallsm...@symfony- project.com wrote: You need to add the cssrewrite filter to your tag: