ilario Posted July 12 Share Posted July 12 ciao mi potreste aiutare per cortesia devo modificare il nome di un file contenuto in una variabile di un modulo <span>{$filter.properties.texture}</span> da /img/co/125.jpg a /img/co/mini-125.webp grazie mille Ilario Link to comment Share on other sites More sharing options...
ilario Posted July 12 Author Share Posted July 12 sono riuscito era abbastanza semplice <span class="color texture" style="background-image:url({dirname($filter.properties.texture)}/mini_{basename($filter.properties.texture,".jpg")}.webp"></span> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now