How to link images properly
#1
what url do I add to the template to fetch the image from the theme's image dictionary? I only know how to add image urls from the internet. I am trying to develop a theme.
[Image: ydtW6Jw.png]
Reply
#2
you can use {$theme['imgdir']} for the theme's images folder like below
<img src="{$theme['imgdir']}/myimage.png" alt="my image" />
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)