Title: Background-image: null
Last modified: June 22, 2021

---

# Background-image: null

 *  Resolved [dirk123](https://wordpress.org/support/users/dirk123/)
 * (@dirk123)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/background-image-null/)
 * Hi,
 * I’ve got this in my website’s code, is it normal for the background image url
   to be “null”?
 * <style type=”text/css”>#lyte_Uq1o6w5zHUQ { background-image: url(null); }</style
   >
 * Thanks,
    Dirk

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/background-image-null/#post-14583181)
 * no, not really … is this for a video or a playlist? do you have the API key set
   and is it working?
 *  Thread Starter [dirk123](https://wordpress.org/support/users/dirk123/)
 * (@dirk123)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/background-image-null/#post-14589425)
 * The API key is set and working.
 * I also just noticed that the video background is only showing when I am logged
   in. If I log out, there’s a black screen…
 * Thanks,
    Dirk
 *  Thread Starter [dirk123](https://wordpress.org/support/users/dirk123/)
 * (@dirk123)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/background-image-null/#post-14589449)
 * It’s for a video…
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/background-image-null/#post-14589468)
 * can you share a URL so I can have a look at the HTML source Dirk?
 *  Thread Starter [dirk123](https://wordpress.org/support/users/dirk123/)
 * (@dirk123)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/background-image-null/#post-14589475)
 * [https://bit.ly/3gSv17y](https://bit.ly/3gSv17y)
 * Thanks!
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/background-image-null/#post-14589514)
 * Hey Dirk;
    You have Sucuri blocking access to the locally cached thumbnails, 
   check the Sucuri config if you have add an exception for wp-youtube-lyte?
 * ![](https://i0.wp.com/i.imgur.com/tYzPQ4G.png?ssl=1)
 * groeten uit Lokeren!
    frank
 *  Thread Starter [dirk123](https://wordpress.org/support/users/dirk123/)
 * (@dirk123)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/background-image-null/#post-14591627)
 * Hey Frank
 * I whitelisted the WP Lyte path, but the images are still not showing up (unless
   I am logged in).
 * Weird, because when I put that image url in my browser, the image loads fine (
   the xxxx in the url is my editing).
 * This is an example from the firewall:
 * 24/Jun/2021:02:23:38 NOT BLOCKED GET 404 /blog/mr-pc/url(https:/www.xxxx.be/blog/
   wp-content/plugins/wp-youtube-lyte/lyteCache.php?origThumbUrl=https%3A%2F%2Fi.
   ytimg.com%2Fvi%2FHRZeVvz6HrE%2Fmaxresdefault.jpg) CACHES:MISS/WHITELISTED [https://www.xxxx.be/blog/mr-pc/](https://www.xxxx.be/blog/mr-pc/)
   
   Mozilla/5.0 (Linux; Android 10; SM-A605F) AppleWebKit/537.36 (KHTML, like Gecko)
   Chrome/91.0.4472.101 Mobile Safari/537.36
 * Groeten uit Antwerpen en bedankt voor de geweldige plugins!
 * Dirk
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/background-image-null/#post-14591636)
 * Perfmatters lazy-load seems to be interfering, can you disable that?
 *  Thread Starter [dirk123](https://wordpress.org/support/users/dirk123/)
 * (@dirk123)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/background-image-null/#post-14591802)
 * Weird, I just turned off lazy loading in Perfmatters, even disabled the plugin(
   and Autoptimize and Rapidload), cleared all caches, but I can’t get rid of this
   class:
 * class=”pL perfmatters-lazy error”
 *  Thread Starter [dirk123](https://wordpress.org/support/users/dirk123/)
 * (@dirk123)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/background-image-null/#post-14591822)
 * I also had this in functions.php, but removed that for now:
 *     ```
       // Lazy Load Youtube Lyte Images
       add_filter('lyte_match_postparse_template','lyte_bgimg');
       function lyte_bgimg($in) {
       	return preg_replace('/(<div id="lyte_[^"]*"\s)data-src="([^"]*)"/', '\1 style="background-image:url(\'\2\')" ', $in);
       }
       ```
   
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/background-image-null/#post-14591846)
 * Maybe clear your page cache(s) (wp rocket)? 🙂
 *  Thread Starter [dirk123](https://wordpress.org/support/users/dirk123/)
 * (@dirk123)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/background-image-null/#post-14627896)
 * Hi Frank, sorry for the late reply!
    It was indeed something cache-related, although
   I cleared all caches. The matter resolved itself after a couple of hours.
 * Cheers,
    Dirk
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/background-image-null/#post-14627969)
 * ah, caching, the curse and blessing of the web … 😉

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

The topic ‘Background-image: null’ is closed to new replies.

 * ![](https://ps.w.org/wp-youtube-lyte/assets/icon-128x128.png?rev=1836005)
 * [WP YouTube Lyte](https://wordpress.org/plugins/wp-youtube-lyte/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-youtube-lyte/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-youtube-lyte/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-youtube-lyte/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-youtube-lyte/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-youtube-lyte/reviews/)

 * 13 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/background-image-null/#post-14627969)
 * Status: resolved