XF 2.0 how to get image link only for custom html for xfrm

hemant_bhardwaj

Well-known member
hey can anyone tell me how to get icon image link only.
what i have currently
input - {{ resource_icon($resource) }}
Out put - <span class="avatar avatar--m"><img src="/xenforo/data/resource_icons/0/2.jpg?1533206467" alt="Oceania Registration Open!"></span>

output that i need = /xenforo/data/resource_icons/0/2.jpg?1533206467

thanks in advance
 
Last edited:
Back
Top Bottom