Jump to content

Featured Replies

Posted

{{$selectIcon = "icons/select-" . $selectLogoSize . ".svg";}}
<img src="{media="{$selectIcon}"}" />

That's how my code looks like, but for some reason, second line doesn't work. But if I remove the variable and manually enter the path as static, it works. How do I fix it?

Solved by Sonya*

Go to solution
  • Author

Bump

  • Solution

Try this 

 

Recently Browsing 0

  • No registered users viewing this page.