Title: header image doesen&#8217;t load
Last modified: January 28, 2021

---

# header image doesen’t load

 *  Resolved [pyoungidea](https://wordpress.org/support/users/pyoungidea/)
 * (@pyoungidea)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/header-image-doesent-load/)
 * Hello,
    I tried to insert an image in the website information tab in the customizer.
   Unfortunately it will only show the image mission icon in my web browser. When
   I look in the html code it says: `<img class="custom-logo" alt="Help-Desk" height
   ="1404" width="3034" loading="lazy" data-src="image.png">` And I think that it’s
   the wrong attribute. But I don’t know how to change the code intro just _src_.
   Because if I change data-src to src the image will show up.
 * Many thanks for your help!
    -  This topic was modified 5 years, 4 months ago by [pyoungidea](https://wordpress.org/support/users/pyoungidea/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [hopeypants](https://wordpress.org/support/users/kungfauxn00b/)
 * (@kungfauxn00b)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/header-image-doesent-load/#post-13969713)
 * Hey, not sure where you added the image as I can’t see that option in my theme
   but it looks like it’s lazy loading the header image: [https://imagekit.io/blog/lazy-loading-images-complete-guide/#the-general-concept-of-lazy-loading-images-in-img-tag](https://imagekit.io/blog/lazy-loading-images-complete-guide/#the-general-concept-of-lazy-loading-images-in-img-tag)
 * This doesn’t sound right to me as you shouldn’t really lazy load an image that’s
   needed immediately; in the case of headers.
 *  Thread Starter [pyoungidea](https://wordpress.org/support/users/pyoungidea/)
 * (@pyoungidea)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/header-image-doesent-load/#post-13969743)
 * Oh thank you!
    Yes I used the plugin _Webcraftic Robin image optimizer_ and it
   looked like this caused the error.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘header image doesen’t load’ is closed to new replies.

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

## Tags

 * [header](https://wordpress.org/support/topic-tag/header/)
 * [image](https://wordpress.org/support/topic-tag/image/)

 * 2 replies
 * 2 participants
 * Last reply from: [pyoungidea](https://wordpress.org/support/users/pyoungidea/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/header-image-doesent-load/#post-13969743)
 * Status: resolved