Homepage › Community Forums › Epik Theme Support › Displaying Full Width Background Image › Reply To: Displaying Full Width Background Image
Hey Wes – sorry ’bout that. Yes, 150 x 150 was set in Genesis Theme Settings. It seems those dimensions carry over to the single post pages as well.
Here is an example where you can see that 150 x 150 image showing:
http://www.diligentiagroup.com/v2/legal-investigation/how-to-spot-a-fraud-tips-from-a-pi/
Here is the code used to display what I’ve got now. Just not sure how to get it to display something other than the 150 x 150 image:
add_action( 'genesis_entry_header', 'single_post_featured_image', 15 );
function single_post_featured_image() {
if ( ! is_singular( 'post' ) )
return;
$img = genesis_get_image( array( 'format' => 'html', 'size' => genesis_get_option( 'image_size' ), 'attr' => array( 'class' => 'post-image' ) ) );
printf( '<a href="%s" title="%s">%s</a>', get_permalink(), the_title_attribute( 'echo=0' ), $img );
}
Thanks again Wes
