In the past I called custom fields using this code:
<? echo get_post_meta($post->ID, 'nameofcustomfield', true) ?>
But this doesn't work when I try to call an image. I am using a custom field called "thumbnail" and as the value I am using the full path of the image. But when I do this:
<a href= "<? the_permalink(); ?>" title="<? the_title(); ?>"><img src="<? echo get_post_meta($post->ID, 'thumbnail', true) ?>" /></a>
No image appears. What is wrong with this code?