I am trying to put an image into my site with an action hook. I was able to get it to work fine using HTML with the image in my media library using this code
<div class="home-buttons"> <img id="home-buttons" src ="http://www.mywebsite.com.au/wp-content/uploads/2012/08/home-buttons.png </div>
Then I decided I wanted the image in the images folder of my child theme (which is the active theme on my site). I then changed the code to this
<div class="home-buttons"> <img id="home-buttons" src="<?php echo get_stylesheet_directory_uri() ?>/images/home-buttons.png" /> </div>
but the image won't load. Instead I get that no image icon (and nothing in firefox)
The image is definitely in the images folder because I can view it in cPanel and I haven't given it the wrong name because I just used copy and paste.