Hello, I am running a php plugin (http://wordpress.org/extend/plugins/allow-php-in-posts-and-pages/) and I am trying to post an image on a page. The image is in the following location: /wp-content/images/. However, the image will not display (instead it displays a broken image link). I have looked at several posts about this problem, but nothing seems to work. Any help is appreciated! Thanks! (code below)
<img src="<?php bloginfo('template_directory'); ?>/wp-content/images/pic.jpg" />
- The topic ‘PHP not displaying images from database’ is closed to new replies.