<a href="<?php the_permalink(); ?>">
<img src="<?php bloginfo(‘siteurl’); ?>/bookThumbnails/<?php $key="bookPromo"; echo get_post_meta($post->ID, $key, true); ?>" border="0" />
</a>
<h2>
<a href="<?php the_permalink(); ?>">
<?php the_title(); ?>
</a>
</h2>
I have the images I am trying to display in a folder called bookThumbnails with my images in there.
inside my bookPromo custom field I have a value of teaching-critical-thinking.jpg which is the name of the file(s) that are inside the bookThumbnails folder.
Thank you.