how to display an image in theme using img tag?
I need to display an image in the page footer using <img>
tag. In my page.tpl.php
I have following block:
<div id="copyright"> <img src="../images/logo.png"> <p class="copyright"><?php print t('Copyright'); ?> © <?php echo date("Y"); ?></p> <div class="clear"></div> </div>
I can`t use print $logo since I can use another image for the logo.
This article was republished from its original source.
Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.