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'); ?> &copy; <?php echo date("Y"); ?></p>
  <div class="clear"></div>

I can`t use print $logo since I can use another image for the logo.

  • 2
    What has your own research led you to try so far? What of that research didn't work? Drupal Answers is specifically not a site where you can come and ask people to write your code for you, please make sure you include your own efforts in the question so we know that's not what you're here for :)
    – Clive
    Feb 26, 2013 at 17:04

1 Answer 1


add image in this way,

<img src="/sites/all/themes/mytheme/images/logo.png" />

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.