Image output in global area via HTML block now showing

Permalink
Hi,

On the right side of my navigation bar I have a small Facebook icon and email icon. I would like to add my navigation bar as a global area, but an HTML block and not auto-nav or anything else. When I place my code for the navigation bar in the block, the icons are not displayed (but the "alt" info is).

I have tried:

<img src="<?php echo $this->getThemePath(); ?>/img/facebookicon.png" width="16" height="23" alt="Facebook">

and

<img src="img/facebookicon.png" width="16" height="23" alt="Facebook">

and neither are displaying my icons - any advice is appreciated. Thanks!

 
madesimplemedia replied on at Permalink Reply
madesimplemedia
Have you got a link to it?

Remember the theme is not the root of the site, so you probably need /themes/[themename]/img/facebookicon.png as the src

Thanks
Dave
wilfordbrimley replied on at Permalink Reply
Hello,

It worked when I input the entire path from the root folder. Thanks so much!