MyBB Community Forums

Full Version: Include in a link a photo
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, it's me again, i know that about 99% of you, don't know who it's me Big Grin

i wanna include a photo here in the end.... i know how to make a photo with the link, but i don't know how to change the original directory and put the photo!
ex. at rss, put the rss photo! at contact put the contact img! etc etc
[Image: 2jc67o4.gif]

thank you!
ACP > Templates > Your theme's templates > Footer Templates > footer > and find;
<span class="smalltext"><a href="{$mybb->settings['contactlink']}">{$lang->bottomlinks_contactus}</a> | <a href="{$mybb->settings['homeurl']}">{$mybb->settings['homename']}</a> | <a href="#top">{$lang->bottomlinks_returntop}</a> | <a href="#content">{$lang->bottomlinks_returncontent}</a> | <a href="<archive_url>">{$lang->bottomlinks_litemode}</a> | <a href="{$mybb->settings['bburl']}/misc.php?action=syndication">{$lang->bottomlinks_syndication}</a></span>
and Use <img src=""> tag to include an image Just before the <a href tag, like this;

<span class="smalltext"><img src="IMAGE_PATH"><a href="{$mybb->settings['contactlink']}">{$lang->bottomlinks_contactus}</a> | <img src="IMAGE_PATH"><a href="{$mybb->settings['homeurl']}">{$mybb->settings['homename']}</a> | <img src="IMAGE_PATH"><a href="#top">{$lang->bottomlinks_returntop}</a> | <img src="IMAGE_PATH"><a href="#content">{$lang->bottomlinks_returncontent}</a> | <img src="IMAGE_PATH"><a href="<archive_url>">{$lang->bottomlinks_litemode}</a> | <a href="{$mybb->settings['bburl']}/misc.php?action=syndication">{$lang->bottomlinks_syndication}</a></span>

Change IMAGE_PATH to each image for each link Smile
thanks, just include
<img src="IMAGE_PATH">
in every link category Smile
You're welcome =)
Also make sure to add this to global.css

.bottommenu img {
padding-right: 2px;
}