There is a CssRewriteFilter that should fix relative URLs like these. It’s 
enabled in the SE by default as “cssrewrite” — try adding that to your asset.
k

On Thursday, June 2, 2011 at 3:33 AM, dbenjamin wrote:

> Hi,
> 
> I started to use Assetic and that's really a great tool !
> 
> However, i wonder how to deal with images referenced in some CSS files.
> Take jQuery UI for instance, the bundle comes with a css file and an "images" 
> dir next to it. All images in the css are referenced by 'images/.....'.
> 
> How to deal with that in assetic ?
> I can search/replace manually in the CSS files to change the paths, but i 
> think this is not a good practice, especially when dealing with a lot of 
> libraries, each with its own structure.
> 
> Thanks.
> 
> 
> --
> Benjamin Dulau - anonymation CEO
> anonymation.com (http://anonymation.com/) | code.anonymation.com 
> (http://code.anonymation.com/)
> ben...@anonymation.com 
> 
>  -- 
>  If you want to report a vulnerability issue on symfony, please send it to 
> security at symfony-project.com (http://symfony-project.com)
> 
>  You received this message because you are subscribed to the Google
>  Groups "symfony users" group.
>  To post to this group, send email to symfony-users@googlegroups.com 
> (mailto:symfony-users@googlegroups.com)
>  To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com 
> (mailto:symfony-users+unsubscr...@googlegroups.com)
>  For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to