I'm trying to put image files into an images folder inside my theme, and display them on the page, but I'm getting the broken image icon. When I copy the file location from the server folder and try it in the browser there is no image there.

Is it possible to display images that aren't in the media library (just from a folder in your theme folder) on WordPress, and is there some special way to do it?

Thank you

1 Answer 1


hammered it out.

Anyone else with this question, try <img src="<?php bloginfo('stylesheet_directory'); ?>/images/yourimagename.jpg">

  • Please accept your own answer Commented Feb 13, 2016 at 7:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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