Adding images to the footer

Hi folks,

Just wondering what the correct way to add images to the footer of the theme is?

I tried to do it by just inserting img function into the footer as shown here:

<footer>

        <div id="custom-footer-text">
            <?php if ( $footerText = get_theme_option('Footer Text') ): ?>
            <p><?php echo $footerText; ?></p>
            <?php endif; ?>
            <?php if ((get_theme_option('Display Footer Copyright') == 1) && $copyright = option('copyright')): ?>
                <p><?php echo $copyright; ?></p>
            <?php endif; ?>
        </div>

        <p><?php echo __('Teresa Deevy Archive <img src="<?php echo $img('3U_partnership.png'); ?>"/> <a href="http://www.nuim.ie">NUI Maynooth</a>. Phone +353 (1) 474 7197 <a h$
<p><img src="<?#php echo img('3U_partenership.png'); ?>"/> </p>
    <?php fire_plugin_hook('public_footer'); ?>

</footer>

but this produced the following errors:

2014-03-18T11:03:10+00:00 ERR (3): exception 'InvalidArgumentException' with message 'Could not find file images/3U_partenership.png!' in /var/www/html/application/libraries/glo$
Stack trace:
#0 /var/www/html/application/libraries/globals.php(1206): web_path_to('images/3U_parte...')
#1 /var/www/html/application/libraries/globals.php(1169): src('3U_partenership...', 'images')
#2 /var/www/html/themes/seasons/common/footer.php(15): img('3U_partenership...')
#3 /var/www/html/application/libraries/Omeka/View.php(117): include('/var/www/html/t...')
#4 /var/www/html/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run('/var/www/html/t...')
#5 /var/www/html/application/libraries/Zend/View/Helper/Partial.php(109): Zend_View_Abstract->render('common/footer.p...')
#6 [internal function]: Zend_View_Helper_Partial->partial('common/footer.p...', Array)
#7 /var/www/html/application/libraries/Zend/View/Abstract.php(350): call_user_func_array(Array, Array)
#8 /var/www/html/application/libraries/globals.php(1614): Zend_View_Abstract->__call('partial', Array)
#9 /var/www/html/application/libraries/globals.php(1614): Omeka_View->partial('common/footer.p...', Array)
#10 /var/www/html/application/libraries/globals.php(1641): common('footer', Array)
#11 /var/www/html/plugins/SimplePages/views/public/page/show.php(19): foot()
#12 /var/www/html/application/libraries/Omeka/View.php(117): include('/var/www/html/p...')
#13 /var/www/html/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run('/var/www/html/p...')
#14 /var/www/html/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(900): Zend_View_Abstract->render('page/show.php')
#15 /var/www/html/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(921): Zend_Controller_Action_Helper_ViewRenderer->renderScript('page/show.php', NULL)
#16 /var/www/html/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(960): Zend_Controller_Action_Helper_ViewRenderer->render()
#17 /var/www/html/application/libraries/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#18 /var/www/html/application/libraries/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#19 /var/www/html/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('showAction')
#20 /var/www/html/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controlle$
#21 /var/www/html/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#22 /var/www/html/application/libraries/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#23 /var/www/html/application/libraries/Omeka/Application.php(79): Zend_Application->run()
#24 /var/www/html/index.php(23): Omeka_Application->run()
#25 {main}
2014-03-18T11:03:13+00:00 ERR (3): exception 'InvalidArgumentException' with message 'Could not find file images/3U_partenership.png!' in /var/www/html/application/libraries/glo$
Stack trace:
#0 /var/www/html/application/libraries/globals.php(1206): web_path_to('images/3U_parte...')
#1 /var/www/html/application/libraries/globals.php(1169): src('3U_partenership...', 'images')
#2 /var/www/html/themes/seasons/common/footer.php(15): img('3U_partenership...')
#3 /var/www/html/application/libraries/Omeka/View.php(117): include('/var/www/html/t...')
#4 /var/www/html/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run('/var/www/html/t...')
#5 /var/www/html/application/libraries/Zend/View/Helper/Partial.php(109): Zend_View_Abstract->render('common/footer.p...')
#6 [internal function]: Zend_View_Helper_Partial->partial('common/footer.p...', Array)
#7 /var/www/html/application/libraries/Zend/View/Abstract.php(350): call_user_func_array(Array, Array)
#8 /var/www/html/application/libraries/globals.php(1614): Zend_View_Abstract->__call('partial', Array)
#9 /var/www/html/application/libraries/globals.php(1614): Omeka_View->partial('common/footer.p...', Array)
#10 /var/www/html/application/libraries/globals.php(1641): common('footer', Array)
#11 /var/www/html/plugins/SimplePages/views/public/page/show.php(19): foot()
#12 /var/www/html/application/libraries/Omeka/View.php(117): include('/var/www/html/p...')
#13 /var/www/html/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run('/var/www/html/p...')
#14 /var/www/html/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(900): Zend_View_Abstract->render('page/show.php')
#15 /var/www/html/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(921): Zend_Controller_Action_Helper_ViewRenderer->renderScript('page/show.php', NULL)
#16 /var/www/html/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(960): Zend_Controller_Action_Helper_ViewRenderer->render()
#17 /var/www/html/application/libraries/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#18 /var/www/html/application/libraries/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#19 /var/www/html/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('showAction')
#20 /var/www/html/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controlle$
#21 /var/www/html/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#22 /var/www/html/application/libraries/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#23 /var/www/html/application/libraries/Omeka/Application.php(79): Zend_Application->run()
#24 /var/www/html/index.php(23): Omeka_Application->run()
#25 {main}

I can do it by just inserting the images <img src="whatever"> just before </footer> but I presume this is pretty hacky ...

See documentation for img() function:
http://omeka.readthedocs.org/en/latest/Reference/libraries/globals/img.html

img() is a helper function used to include an image from within a theme. It returns the URL to an image file located in the images directory of that theme, usually located in themes/YourTheme/images. The resulting path can be used in an <img> tag, or anywhere else an image URL is needed.

So you'd want to make sure, for example, that the file 3U_partenership.png is in your theme's images directory.

Usage:

<img alt="foo" title="foo"
src="
<?php echo img('3U_partenership.png');?>
"/>

Thanks ebellempire.

Reading your post I realised that I misspelled the filename in the example above!