Hello everybody!
I'm new in Symfony2 :)
I'm trying to Asset my files using AsseticBundle with yui_css filter.
So, when I put php app/console --env=prod assetic:dump in console, I
had success generating only this assets for exemple:
{% stylesheets '@OubrahBundle/Resources/css/main.css' filter="?
yui_css"%}
<link rel="stylesheet" href="{{ asset_url }}" type="text/css"
media="all" />
{% endstylesheets %}
it generate:a6d6cbd.css
{% image
'@OubrahBundle/Resources/images/lupa.png'
%}
<img src="{{ asset_url }}" alt="The alt text" />
{% endimage %}
and it: 4590b5f.png
Great! But how generate images embed on main.css(a6d6cbd.css) ??? Like
this:
body div div#cabecalho-conteudo #form-busca button span
{
background: url(../images/lupa.png) no-repeat; <--- HOW TO GENERATE
THIS ASSET??????
display: -moz-inline-stack;
display: inline-block;
height: 15px;
width: 15px;
vertical-align: 0;
zoom: 1;
}
Best reguards!!!
--
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 developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en