MyBB Community Forums
MyBB Community Forums
>
Extensions
>
Themes
>
Theme Development
> How to link images properly
Full Version:
How to link images properly
You're currently viewing a stripped down version of our content.
View the full version
with proper formatting.
RobiLee
2016-05-09, 11:15 PM
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.
.m.
2016-05-10, 01:46 AM
you can use
{$theme['imgdir']}
for the
theme's images folder
like below
<img src="{$theme['imgdir']}/myimage.png" alt="my image" />
MyBB Community Forums
>
Extensions
>
Themes
>
Theme Development
> How to link images properly