Title: Header Image Disappeared
Last modified: August 22, 2016

---

# Header Image Disappeared

 *  [nhindi](https://wordpress.org/support/users/nhindi/)
 * (@nhindi)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/header-image-disappeared-3/)
 * Hello all,
 * I had a problem in my blog: posts show the picture that was inside the post (
   featured picture) – i tired to remove it in the regular way through “edit” in
   the post. though, every time the picture kept shown on the header.
    so i tried
   to remove it from the header.php code and now i dont have image header at all
   in the main page.
 * this is the code i have inside the header.php:
    // Check if this is a post or
   page, if it has a thumbnail, and if it’s a big one if ( is_singular() && current_theme_supports(‘
   post-thumbnails’ ) && has_post_thumbnail( $post->ID ) && ( /* $src, $width, $
   height */ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post-
   >ID ), ‘post-thumbnail’ ) ) && $image[1] >= HEADER_IMAGE_WIDTH ) : // Houston,
   we have a new header image! //echo get_the_post_thumbnail( $post->ID );
 * i will be happy to hear any suggested solution.
    thanks.
 * by the way i have twenty ten with child theme.

The topic ‘Header Image Disappeared’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/twentyeleven/5.1/screenshot.png)
 * Twenty Eleven
 * [Support Threads](https://wordpress.org/support/theme/twentyeleven/)
 * [Active Topics](https://wordpress.org/support/theme/twentyeleven/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/twentyeleven/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/twentyeleven/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [nhindi](https://wordpress.org/support/users/nhindi/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/header-image-disappeared-3/)
 * Status: not resolved