{"id":66532,"date":"2023-04-27T16:00:00","date_gmt":"2023-04-27T13:00:00","guid":{"rendered":"https:\/\/themeisle.com\/blog\/?p=66532"},"modified":"2023-10-07T12:20:04","modified_gmt":"2023-10-07T09:20:04","slug":"largest-contentful-paint-image-was-lazily-loaded","status":"publish","type":"post","link":"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/","title":{"rendered":"How to Fix Largest Contentful Paint Image Was Lazily Loaded in WordPress"},"content":{"rendered":"\n<p>Did you just run your website through Google PageSpeed Insights only to be met with a diagnostic message telling you that the Largest Contentful Paint image was lazily loaded?<\/p>\n\n\n\n<!--more-->\n\n\n\n<p><a href=\"https:\/\/themeisle.com\/blog\/lazy-loading\/\">Lazy loading<\/a> is normally a smart tactic to speed up your site&#8217;s load times. \ud83c\udfbf<\/p>\n\n\n\n<p>But if you&#8217;re lazy loading an above-the-fold image that&#8217;s being used to calculate your site&#8217;s Largest Contentful Paint time, then it may work against you. Why? Lazy loading that first image can actually slow down your site&#8217;s Largest Contentful Paint times because it takes it longer to appear.<\/p>\n\n\n\n<p>That&#8217;s precisely why PageSpeed Insights displays the &#8220;<em>Largest Contentful Paint image was lazily loaded<\/em>&#8221; diagnostic message.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>Thankfully, there&#8217;s a pretty easy fix &#8211; all you need to do is to exclude the first image from lazy loading.<\/p>\n\n\n\n<p>\ud83d\udc49 In this post, you&#8217;ll learn the easiest way to get that done on your WordPress site.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n\t\t<div class='ti-tweet-clear'><\/div>\n\t\t\t<div class='ti-tweet_wrapper'>\n\t\t    \t<div class='ti-tweet_text'>\n\t\t    \t\t<a href='https:\/\/twitter.com\/share?text=How+to+fix+the+largest+contentful+paint+%F0%9F%8E%A8+image+%F0%9F%96%BC%EF%B8%8F+was+lazily+loaded+in+%23WordPress+error&via=themeisle&related=themeisle&url=https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/' target='_blank' rel='nofollow'>How to fix the largest contentful paint \ud83c\udfa8 image \ud83d\uddbc\ufe0f was lazily loaded in #WordPress error<\/a>\n\t\t    \t<\/div>\n\t\t    \t<div class='ti-tweet_sharebtn'>\n\t\t    \t<a href='https:\/\/twitter.com\/share?text=How+to+fix+the+largest+contentful+paint+%F0%9F%8E%A8+image+%F0%9F%96%BC%EF%B8%8F+was+lazily+loaded+in+%23WordPress+error&via=themeisle&related=themeisle&url=https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/' target='_blank' rel='nofollow'>Click To Tweet \n\t\t    \t\t<span><\/span>\n\t\t    \t<\/a>\n\t\t    <\/div>\n\t\t<\/div>\n<\/div>\n<\/div>\n\n\n<div class=\"su-divider su-divider-style-dotted\" style=\"margin:40px 0;border-width:1px;border-color:#999999\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">How to fix Largest Contentful Paint image was lazily loaded message in PageSpeed Insights<\/h2>\n\n\n\n<p>Below, we&#8217;ll share two ways to exclude the first image from lazy loading in WordPress:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"#optimole-plugin\">Use the free Optimole plugin which offers optimized lazy loading plus tons of other image optimization features<\/a>.<\/li>\n\n\n\n<li><a href=\"#add-snippet\">Add a code snippet to adjust WordPress&#8217;s native browser lazy loading functionality<\/a>.<\/li>\n<\/ol>\n\n\n<div class=\"su-divider su-divider-style-default\" style=\"margin:40px 0;border-width:15px;border-color:#4267cf\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"optimole-plugin\">1. Use Optimole to optimize your images for Largest Contentful Paint<\/h3>\n\n\n\n<p>The easiest way to fix the Largest Contentful Paint image was lazily loaded diagnostic is to use <a href=\"https:\/\/optimole.com\/\" target=\"_blank\" rel=\"noopener\">the Optimole plugin<\/a>. It&#8217;s an all-in-one image optimization tool that&#8217;s part of the Themeisle family.<\/p>\n\n\n\n<p>In addition to letting you fix this specific problem, Optimole also simply offers lots of tools to optimize your site&#8217;s images for Largest Contentful Paint (and just generally for web performance).<\/p>\n\n\n\n<p>\ud83d\uddb1\ufe0f Here&#8217;s what it can do:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Serve adaptive images in real-time that are optimized for each visitor. For example, someone browsing on a low-resolution smartphone would receive smaller images than someone browsing on a 4K screen.<\/li>\n\n\n\n<li>Lazy load images, including excluding the first X images from lazy loading.<\/li>\n\n\n\n<li>Compress images using lossy or lossless compression.<\/li>\n\n\n\n<li>Convert images to optimized formats like <a href=\"https:\/\/themeisle.com\/blog\/avif-vs-webp\/\">WebP and AVIF<\/a>.<\/li>\n\n\n\n<li>Deliver images via its built-in <a href=\"https:\/\/themeisle.com\/blog\/content-delivery-network-for-wordpress\/\">content delivery network (CDN)<\/a>, powered by Amazon CloudFront&#8217;s global network.<\/li>\n<\/ul>\n\n\n\n<p>When it comes to the Largest Contentful Paint image was lazily loaded diagnostic, the most important Optimole feature is the option to exclude the first X images in your post from being lazy loaded.<\/p>\n\n\n\n<p>\u2699\ufe0f Here&#8217;s how to do it\u2026<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Activate the Optimole plugin on your site<\/h4>\n\n\n\n<p>To start, install and activate the free Optimole plugin on your site. It&#8217;s listed at WordPress.org and you can <a href=\"https:\/\/themeisle.com\/blog\/how-to-install-a-wordpress-plugin\/\">install it like any other free plugin<\/a>.<\/p>\n\n\n<div class=\"wp-pic-wrapper align-center large\" style=\"margin:20px 0;\"><div class=\"wp-pic large plugin wp-pic-ajax scheme2\"  id=\"wp-pic-optimole-wp\"data-type=\"plugin\" data-slug=\"optimole-wp\" data-image=\"\" data-expiration=\"\"  data-layout=\"large\" data-slugs=\"[]\" ><div class=\"wp-pic-body-loading\"><div class=\"signal\"><\/div><\/div><\/div><\/div><!-- .wp-pic-wrapper--><link rel='stylesheet' id='dashicons-css' href='https:\/\/themeisle.com\/blog\/wp-includes\/css\/dashicons.min.css?ver=6.8.5' type='text\/css' media='all' \/>\n<link rel='stylesheet' id='wppic-style-css' href='https:\/\/themeisle.com\/blog\/wp-content\/plugins\/wp-plugin-info-card\/dist\/wppic-styles.css?ver=6.1.1' type='text\/css' media='all' \/>\n<script type=\"text\/javascript\" src=\"https:\/\/themeisle.com\/blog\/wp-includes\/js\/jquery\/jquery.min.js?ver=3.7.1\" id=\"jquery-core-js\"><\/script>\n<script type=\"text\/javascript\" src=\"https:\/\/themeisle.com\/blog\/wp-includes\/js\/jquery\/jquery-migrate.min.js?ver=3.4.1\" id=\"jquery-migrate-js\"><\/script>\n<script type=\"text\/javascript\" id=\"wppic-script-js-extra\">\n\/* <![CDATA[ *\/\nvar wppicAjax = {\"ajaxurl\":\"https:\\\/\\\/themeisle.com\\\/blog\\\/wp-admin\\\/admin-ajax.php\"};\n\/* ]]> *\/\n<\/script>\n<script type=\"text\/javascript\" src=\"https:\/\/themeisle.com\/blog\/wp-content\/plugins\/wp-plugin-info-card\/assets\/js\/wppic-script.min.js?ver=6.1.1\" id=\"wppic-script-js\"><\/script>\n\n\n\n\n<p>Once you activate the plugin, you&#8217;ll be prompted to create a free account. Just enter your email, click the blue button that says <strong>Create &amp; connect your account<\/strong> and Optimole will generate a free API key for you. This will connect your site to the Optimole service:<\/p>\n\n\n<div class=\"wp-block-image blog-img-std\">\n<figure class=\"aligncenter size-full\"><img data-opt-id=1579121822  fetchpriority=\"high\" decoding=\"async\" width=\"2560\" height=\"1420\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Connect-Optimole-to-WordPress-scaled.webp\" alt=\"Connect Optimole to WordPress\" class=\"wp-image-113657\" srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1920\/h:1065\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Connect-Optimole-to-WordPress-scaled.webp 2560w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:166\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Connect-Optimole-to-WordPress-scaled.webp 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:568\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Connect-Optimole-to-WordPress-scaled.webp 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:426\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Connect-Optimole-to-WordPress-scaled.webp 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1536\/h:852\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Connect-Optimole-to-WordPress-scaled.webp 1536w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1920\/h:1065\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Connect-Optimole-to-WordPress-scaled.webp 2048w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:28\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Connect-Optimole-to-WordPress-scaled.webp 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:433\/h:240\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Connect-Optimole-to-WordPress-scaled.webp 433w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:716\/h:397\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Connect-Optimole-to-WordPress-scaled.webp 716w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1082\/h:600\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Connect-Optimole-to-WordPress-scaled.webp 1082w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:267\/h:148\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Connect-Optimole-to-WordPress-scaled.webp 267w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:352\/h:195\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Connect-Optimole-to-WordPress-scaled.webp 352w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:243\/h:135\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Connect-Optimole-to-WordPress-scaled.webp 243w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1920\/h:1065\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Connect-Optimole-to-WordPress-scaled.webp 2x\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/figure><\/div>\n\n\n<h4 class=\"wp-block-heading\">Exclude the first image(s) from being lazy loaded<\/h4>\n\n\n\n<p>Once you&#8217;ve connected to the plugin, you should see the Optimole dashboard.<\/p>\n\n\n\n<p><em>You can also always access it by going to <\/em><strong>Optimole<\/strong> from the WordPress dashboard.<\/p>\n\n\n\n<p>Optimole enables lazy loading by default. It also automatically excludes the first two images from being lazy loaded. In other words, it should fix the diagnostic message even with its default settings.<\/p>\n\n\n\n<p>If you want to exclude additional images from lazy loading or otherwise adjust lazy loading behavior, you can go to <strong>Settings \u2192 Advanced \u2192 Lazyload<\/strong> in the Optimole area of your WordPress dashboard.<\/p>\n\n\n<div class=\"wp-block-image blog-img-std\">\n<figure class=\"aligncenter size-full\"><img data-opt-id=576124785  fetchpriority=\"high\" decoding=\"async\" width=\"1930\" height=\"1396\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Enable-smart-lazy-loading.webp\" alt=\"Enable smart lazy loading\" class=\"wp-image-113659\" srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1493\/h:1080\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Enable-smart-lazy-loading.webp 1930w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:217\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Enable-smart-lazy-loading.webp 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:741\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Enable-smart-lazy-loading.webp 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:556\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Enable-smart-lazy-loading.webp 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1493\/h:1080\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Enable-smart-lazy-loading.webp 1536w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:36\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Enable-smart-lazy-loading.webp 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:332\/h:240\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Enable-smart-lazy-loading.webp 332w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:549\/h:397\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Enable-smart-lazy-loading.webp 549w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:830\/h:600\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Enable-smart-lazy-loading.webp 830w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:205\/h:148\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Enable-smart-lazy-loading.webp 205w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:270\/h:195\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Enable-smart-lazy-loading.webp 270w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:187\/h:135\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Enable-smart-lazy-loading.webp 187w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1493\/h:1080\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Enable-smart-lazy-loading.webp 2x\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/figure><\/div>\n\n\n<h4 class=\"wp-block-heading\">Configure other image optimization features according to your preferences<\/h4>\n\n\n\n<p>In addition to fixing any issues with lazy loading and Largest Contentful Paint images, Optimole also offers lots of other useful image optimization features that are worth exploring.<\/p>\n\n\n\n<p>To view and\/or enable these features, you can explore the <strong>Settings<\/strong> area of the Optimole interface in your WordPress dashboard.<\/p>\n\n\n<div class=\"wp-block-image blog-img-std\">\n<figure class=\"aligncenter size-full\"><img data-opt-id=1043723841  fetchpriority=\"high\" decoding=\"async\" width=\"1940\" height=\"1814\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Custom-image-compression-settings-in-Optimole.webp\" alt=\"Custom image compression settings in Optimole\" class=\"wp-image-113660\" srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1155\/h:1080\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Custom-image-compression-settings-in-Optimole.webp 1940w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:281\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Custom-image-compression-settings-in-Optimole.webp 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:957\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Custom-image-compression-settings-in-Optimole.webp 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:718\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Custom-image-compression-settings-in-Optimole.webp 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1155\/h:1080\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Custom-image-compression-settings-in-Optimole.webp 1536w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:47\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Custom-image-compression-settings-in-Optimole.webp 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:257\/h:240\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Custom-image-compression-settings-in-Optimole.webp 257w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:425\/h:397\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Custom-image-compression-settings-in-Optimole.webp 425w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:642\/h:600\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Custom-image-compression-settings-in-Optimole.webp 642w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:158\/h:148\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Custom-image-compression-settings-in-Optimole.webp 158w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:209\/h:195\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Custom-image-compression-settings-in-Optimole.webp 209w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:144\/h:135\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Custom-image-compression-settings-in-Optimole.webp 144w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1155\/h:1080\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/04\/Custom-image-compression-settings-in-Optimole.webp 2x\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/figure><\/div>\n\n<div class=\"su-divider su-divider-style-default\" style=\"margin:40px 0;border-width:15px;border-color:#4267cf\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"add-snippet\">2. Use code to exclude images from native WordPress lazy loading<\/h3>\n\n\n\n<p>Even if you&#8217;re not using a dedicated lazy load plugin like Optimole, you still might run into the <em>Largest Contentful Paint image was lazily loaded<\/em> message. The reason is because WordPress added native lazy loading support in WordPress 5.5.<\/p>\n\n\n\n<p>This caused issues with poor Largest Contentful Paint at first because it lazy loaded all images.<\/p>\n\n\n\n<p>To fix this and avoid the <em>Largest Contentful Paint image was lazily loaded <\/em>message, WordPress 5.9 tweaked this behavior to exclude the first image from lazy loading automatically.<\/p>\n\n\n\n<p>However, you still might be experiencing the problem with WordPress&#8217;s native lazy loading through some type of edge case or issue with your theme.<\/p>\n\n\n\n<p>If you want to be safe, you can use the <a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/wp_omit_loading_attr_threshold\/\" target=\"_blank\" rel=\"noopener\">wp_omit_loading_attr_threshold() function<\/a> and action hook. This will adjust how many images to exclude from lazy loading.<\/p>\n\n\n\n<p>For example, you could exclude the first <em>two<\/em> images instead of just the first image.<\/p>\n\n\n\n<p>To do this, add the following code snippet to the <strong>functions.php<\/strong> file of <a href=\"https:\/\/themeisle.com\/blog\/wordpress-child-themes\/\">your child theme<\/a> or a code manager plugin like <strong><a href=\"https:\/\/wordpress.org\/plugins\/code-snippets\/\" target=\"_blank\" rel=\"noopener\">Code Snippets<\/a><\/strong>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>add_filter( 'wp_omit_loading_attr_threshold', function($omit_threshold){\n    if ( is_single() ) {\n        $omit_threshold = 2;\n    }\n    return $omit_threshold;\n} );<\/code><\/pre>\n\n\n<div class=\"wp-block-image blog-img-std\">\n<figure class=\"aligncenter size-full\"><img data-opt-id=828009813  data-opt-src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/03\/exclude-images-lazy-loading.jpg\"  decoding=\"async\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:eco\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/03\/exclude-images-lazy-loading.jpg\" alt=\"how to fix the Largest Contentful Paint Image Was Lazily Loaded diagnostic with code\" class=\"wp-image-66536\"\/><noscript><img data-opt-id=828009813  decoding=\"async\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/03\/exclude-images-lazy-loading.jpg\" alt=\"how to fix the Largest Contentful Paint Image Was Lazily Loaded diagnostic with code\" class=\"wp-image-66536\"\/></noscript><\/figure><\/div>\n\n\n<p>This code snippet will exclude the first two images on all single posts. If you want to exclude even more images, you can change the number &#8220;2&#8221; to a higher number.<\/p>\n\n\n<div class=\"su-divider su-divider-style-dotted\" style=\"margin:40px 0;border-width:1px;border-color:#999999\"><a href=\"#\" style=\"color:#999999\">Go to top<\/a><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Fix the Largest Contentful Paint image was lazily loaded message for good \ud83c\udfaf<\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>If you&#8217;re seeing the Largest Contentful Paint image was lazily loaded message in PageSpeed Insights, that means you&#8217;re slowing down your site&#8217;s Largest Contentful Paint times by lazy loading the main image.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n\t\t<div class='ti-tweet-clear'><\/div>\n\t\t\t<div class='ti-tweet_wrapper'>\n\t\t    \t<div class='ti-tweet_text'>\n\t\t    \t\t<a href='https:\/\/twitter.com\/share?text=How+to+fix+%F0%9F%A7%B0+largest+contentful+paint+%F0%9F%8E%A8+image+%F0%9F%96%BC%EF%B8%8F+was+lazily+loaded+in+%23WordPress&via=themeisle&related=themeisle&url=https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/' target='_blank' rel='nofollow'>How to fix \ud83e\uddf0 largest contentful paint \ud83c\udfa8 image \ud83d\uddbc\ufe0f was lazily loaded in #WordPress<\/a>\n\t\t    \t<\/div>\n\t\t    \t<div class='ti-tweet_sharebtn'>\n\t\t    \t<a href='https:\/\/twitter.com\/share?text=How+to+fix+%F0%9F%A7%B0+largest+contentful+paint+%F0%9F%8E%A8+image+%F0%9F%96%BC%EF%B8%8F+was+lazily+loaded+in+%23WordPress&via=themeisle&related=themeisle&url=https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/' target='_blank' rel='nofollow'>Click To Tweet \n\t\t    \t\t<span><\/span>\n\t\t    \t<\/a>\n\t\t    <\/div>\n\t\t<\/div>\n<\/div>\n<\/div>\n\n\n\n<p>The easiest way to fix this problem is to install <a href=\"https:\/\/wordpress.org\/plugins\/optimole-wp\/\" target=\"_blank\" rel=\"noopener\">the free Optimole plugin<\/a> and configure it to exclude the first few images from lazy loading.<\/p>\n\n\n\n<p>Beyond fixing this diagnostic, it also does lots of other helpful things to optimize your images for Largest Contentful Paint times and web performance in general.<\/p>\n\n\n\n<p>If you&#8217;re using WordPress&#8217;s native browser lazy loading instead of a lazy loading plugin, you can also manually adjust how many images to exclude from lazy loading using the <strong>wp_omit_loading_attr_threshold()<\/strong> function.<\/p>\n\n\n\n<p>\ud83d\udc49 For some other ways to improve this metric, you also might want to read our <a href=\"https:\/\/themeisle.com\/blog\/largest-contentful-paint-wordpress\/\">five tips for speeding up Largest Contentful Paint times<\/a>, as well as <a href=\"https:\/\/themeisle.com\/blog\/google-core-web-vitals\/\">our general guide to Google Core Web Vitals<\/a>.<\/p>\n\n\n\n<p><strong><em>Do you still have any questions about how to exclude the first image from being lazy loaded in WordPress? Let us know in the comments!<\/em><\/strong><\/p>\n\n\n<style>.ticss-d144f107 strong{font-weight: 700;\n    letter-spacing: -0.2px;\n    line-height: 1.2;\n    display: inline-block;}<\/style>\n\n\n<div class=\"wp-block-columns speed-guide has-white-color has-text-color has-background has-link-color wp-elements-2f81f6c5526477b5b4d52d1ca4513949 is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\" style=\"background-color:#4267cf\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:40%\">\n<figure class=\"wp-block-image size-medium\"><img data-opt-id=30701221  data-opt-src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:300\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png\"  decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:300\/q:eco\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png\" alt=\"speed guide\" class=\"wp-image-113040\" old-srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:300\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:1024\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:150\/h:150\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 150w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:768\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:50\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:240\/h:240\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 240w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:397\/h:397\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 397w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:600\/h:600\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 600w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:148\/h:148\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 148w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:195\/h:195\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 195w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:135\/h:135\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 135w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1080\/h:1080\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 1200w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1080\/h:1080\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 2x\" \/><noscript><img data-opt-id=30701221  decoding=\"async\" width=\"300\" height=\"300\" src=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:300\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png\" alt=\"speed guide\" class=\"wp-image-113040\" srcset=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:300\/h:300\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 300w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1024\/h:1024\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 1024w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:150\/h:150\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 150w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:768\/h:768\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 768w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:50\/h:50\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 50w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:240\/h:240\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 240w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:397\/h:397\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 397w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:600\/h:600\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 600w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:148\/h:148\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 148w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:195\/h:195\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 195w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:135\/h:135\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 135w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1080\/h:1080\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 1200w, https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:1080\/h:1080\/q:mauto\/f:best\/dpr:2\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2025\/09\/e2ce20299a807336c68c2e029640adaa1.png 2x\" sizes=\"(max-width: 300px) 100vw, 300px\" \/></noscript><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"has-text-align-center ticss-58e79f2f\" style=\"font-size:14px\"><strong>FREE GUIDE<\/strong><\/p>\n\n\n\n<p class=\"ticss-d144f107\" style=\"font-size:25px\"><strong>4 Essential Steps to Speed Up Your&nbsp;WordPress Website<\/strong><\/p>\n\n\n\n<p class=\"ticss-3b627beb\">Follow the simple steps in our 4-part mini series and reduce your loading times by 50-80%.&nbsp;\ud83d\ude80<\/p>\n\n\n<p><div class=\"frm_forms  with_frm_style frm_style_themeisle\" id=\"frm_form_4_container\" data-token=\"31a8875208f15c35e09cc7683cde123d\">\n<form enctype=\"multipart\/form-data\" method=\"post\" class=\"frm-show-form  frm_pro_form \" id=\"form_site-speed-guide-below-post\" data-token=\"31a8875208f15c35e09cc7683cde123d\">\n<div class=\"frm_form_fields \">\n<fieldset>\n<legend class=\"frm_screen_reader\">Site Speed Guide - Below Post<\/legend>\r\n\r\n<div class=\"frm_fields_container\">\n<input type=\"hidden\" name=\"frm_action\" value=\"create\" \/>\n<input type=\"hidden\" name=\"form_id\" value=\"4\" \/>\n<input type=\"hidden\" name=\"frm_hide_fields_4\" id=\"frm_hide_fields_4\" value=\"\" \/>\n<input type=\"hidden\" name=\"form_key\" value=\"site-speed-guide-below-post\" \/>\n<input type=\"hidden\" name=\"item_meta[0]\" value=\"\" \/>\n<input type=\"hidden\" id=\"frm_submit_entry_4\" name=\"frm_submit_entry_4\" value=\"55e2af24a4\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/blog\/wp-json\/wp\/v2\/posts\/66532\" \/><input type=\"hidden\" name=\"item_meta[18]\" id=\"field_6px6q2\" value=\"\/blog\/wp-json\/wp\/v2\/posts\/66532\"  data-frmval=\"\/blog\/wp-json\/wp\/v2\/posts\/66532\"   \/>\n<div id=\"frm_field_15_container\" class=\"frm_form_field form-field  frm_required_field frm_none_container\">\r\n\t<label for=\"field_6px6q\" id=\"field_6px6q_label\" class=\"frm_primary_label\">Your Email\r\n\t\t<span class=\"frm_required\" aria-hidden=\"true\">*<\/span>\r\n\t<\/label>\r\n\t<input type=\"email\" id=\"field_6px6q\" name=\"item_meta[15]\" value=\"\"  autocomplete=\"email\"  placeholder=\"your@email.com\" data-reqmsg=\"Your Email cannot be blank.\" aria-required=\"true\" data-invmsg=\"Your Email is invalid\" aria-invalid=\"false\"  \/>\r\n\t\r\n\t\r\n<\/div>\n<div id=\"frm_field_17_container\" class=\"frm_form_field form-field  frm_none_container vertical_radio\">\r\n\t<div  id=\"field_6px6q3_label\" class=\"frm_primary_label\">Subscribe to our newsletter\r\n\t\t<span class=\"frm_required\" aria-hidden=\"true\"><\/span>\r\n\t<\/div>\r\n\t<div class=\"frm_opt_container\" aria-labelledby=\"field_6px6q3_label\" role=\"group\">\t\t<div class=\"frm_checkbox\" id=\"frm_checkbox_17-0\">\t\t\t<label  for=\"field_6px6q3-0\">\n\t\t\t<input type=\"checkbox\" name=\"item_meta[17][]\" id=\"field_6px6q3-0\" value=\"true\"  data-invmsg=\"Subscribe to our newsletter is invalid\" aria-invalid=\"false\"   \/> Subscribe to our newsletter<\/label><\/div>\n<\/div>\r\n\t\r\n\t\r\n<\/div>\n<div id=\"frm_field_14_container\" class=\"frm_form_field form-field \">\r\n\t<div class=\"frm_submit frm_flex\">\r\n<button class=\"frm_button_submit frm_final_submit\" type=\"submit\"   formnovalidate=\"formnovalidate\">FREE ACCESS<\/button>\r\n\r\n\r\n\r\n<\/div>\r\n<\/div>\n\t<input type=\"hidden\" name=\"item_key\" value=\"\" \/>\n\t\t\t<div id=\"frm_field_24_container\">\n\t\t\t<label for=\"field_8g19i\" >\n\t\t\t\tIf you are human, leave this field blank.\t\t\t<\/label>\n\t\t\t<input  id=\"field_8g19i\" type=\"text\" class=\"frm_form_field form-field frm_verify\" name=\"item_meta[24]\" value=\"\"  \/>\n\t\t<\/div>\n\t\t<input name=\"frm_state\" type=\"hidden\" value=\"tGKtIG19U6wyYcew8uBttaLeGP20MvgFAqIvuFKc2QAwF9M0QAXa6pd1+Qu8+H8p\" \/><\/div>\n<\/fieldset>\n<\/div>\n\n<p style=\"display: none !important;\" class=\"akismet-fields-container\" data-prefix=\"ak_\"><label>&#916;<textarea name=\"ak_hp_textarea\" cols=\"45\" rows=\"8\" maxlength=\"100\"><\/textarea><\/label><input type=\"hidden\" id=\"ak_js_1\" name=\"ak_js\" value=\"134\"\/><script>document.getElementById( \"ak_js_1\" ).setAttribute( \"value\", ( new Date() ).getTime() );<\/script><\/p><\/form>\n<\/div>\n<\/p>\n<\/div>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"Did you just run your website through Google PageSpeed Insights only to be met with a diagnostic message telling you that the Largest Contentful Paint image was lazily loaded? Thankfully, there&#8217;s a pretty easy fix, and in this post we&#8217;ll show exactly how to do it.","protected":false},"author":15,"featured_media":64802,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_stopmodifiedupdate":true,"_modified_date":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[272],"tags":[],"hashtags":[],"class_list":["post-66532","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-tutorials"],"wppr_data":{"cwp_meta_box_check":"No"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.8 (Yoast SEO v26.1.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Fix Largest Contentful Paint Image Was Lazily Loaded<\/title>\n<meta name=\"description\" content=\"Learn how to fix the Largest Contentful Paint Image Was Lazily Loaded diagnostic from PageSpeed Insights. Two different WordPress methods.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Fix Largest Contentful Paint Image Was Lazily Loaded in WordPress\" \/>\n<meta property=\"og:description\" content=\"Learn how to fix the Largest Contentful Paint Image Was Lazily Loaded diagnostic from PageSpeed Insights. Two different WordPress methods.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/\" \/>\n<meta property=\"og:site_name\" content=\"Themeisle Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-27T13:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-07T09:20:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/03\/Image-Was-Lazily-Loaded.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2180\" \/>\n\t<meta property=\"og:image:height\" content=\"1090\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Colin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@ColinNewcomer\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Colin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/\"},\"author\":{\"name\":\"Colin\",\"@id\":\"https:\/\/themeisle.com\/blog\/#\/schema\/person\/c413f0287a7b2ae513ef445395997e3c\"},\"headline\":\"How to Fix Largest Contentful Paint Image Was Lazily Loaded in WordPress\",\"datePublished\":\"2023-04-27T13:00:00+00:00\",\"dateModified\":\"2023-10-07T09:20:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/\"},\"wordCount\":1144,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/themeisle.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/03\/Image-Was-Lazily-Loaded.png\",\"articleSection\":[\"WordPress Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/\",\"url\":\"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/\",\"name\":\"How to Fix Largest Contentful Paint Image Was Lazily Loaded\",\"isPartOf\":{\"@id\":\"https:\/\/themeisle.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/03\/Image-Was-Lazily-Loaded.png\",\"datePublished\":\"2023-04-27T13:00:00+00:00\",\"dateModified\":\"2023-10-07T09:20:04+00:00\",\"description\":\"Learn how to fix the Largest Contentful Paint Image Was Lazily Loaded diagnostic from PageSpeed Insights. Two different WordPress methods.\",\"breadcrumb\":{\"@id\":\"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/#primaryimage\",\"url\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/03\/Image-Was-Lazily-Loaded.png\",\"contentUrl\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/03\/Image-Was-Lazily-Loaded.png\",\"width\":2180,\"height\":1090,\"caption\":\"Largest Contentful Paint Image Was Lazily Loaded\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\/\/themeisle.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Fix Largest Contentful Paint Image Was Lazily Loaded in WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/themeisle.com\/blog\/#website\",\"url\":\"https:\/\/themeisle.com\/blog\/\",\"name\":\"Themeisle Blog\",\"description\":\"WordPress Tutorials and Reviews for Beginners and Advanced\",\"publisher\":{\"@id\":\"https:\/\/themeisle.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/themeisle.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/themeisle.com\/blog\/#organization\",\"name\":\"VertiStudio\",\"alternateName\":\"Vertigo Studio SA\",\"url\":\"https:\/\/themeisle.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/themeisle.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2024\/02\/VertiStudio_logo1.png\",\"contentUrl\":\"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2024\/02\/VertiStudio_logo1.png\",\"width\":718,\"height\":156,\"caption\":\"VertiStudio\"},\"image\":{\"@id\":\"https:\/\/themeisle.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/themeisle.com\/blog\/#\/schema\/person\/c413f0287a7b2ae513ef445395997e3c\",\"name\":\"Colin\",\"description\":\"Colin Newcomer is a WordPress power user who has been writing about WordPress for over seven years and using the WordPress software since all the way back in 2006. He also has hands-on experience with SEO, content marketing, affiliate marketing, and other digital marketing areas.\",\"sameAs\":[\"https:\/\/www.cnewcomer.com\",\"https:\/\/x.com\/ColinNewcomer\"],\"honorificPrefix\":\"Mr\",\"url\":\"https:\/\/themeisle.com\/blog\/author\/colin-n\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Fix Largest Contentful Paint Image Was Lazily Loaded","description":"Learn how to fix the Largest Contentful Paint Image Was Lazily Loaded diagnostic from PageSpeed Insights. Two different WordPress methods.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/","og_locale":"en_US","og_type":"article","og_title":"How to Fix Largest Contentful Paint Image Was Lazily Loaded in WordPress","og_description":"Learn how to fix the Largest Contentful Paint Image Was Lazily Loaded diagnostic from PageSpeed Insights. Two different WordPress methods.","og_url":"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/","og_site_name":"Themeisle Blog","article_published_time":"2023-04-27T13:00:00+00:00","article_modified_time":"2023-10-07T09:20:04+00:00","og_image":[{"width":2180,"height":1090,"url":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/03\/Image-Was-Lazily-Loaded.png","type":"image\/png"}],"author":"Colin","twitter_card":"summary_large_image","twitter_creator":"@ColinNewcomer","twitter_misc":{"Written by":"Colin","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/#article","isPartOf":{"@id":"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/"},"author":{"name":"Colin","@id":"https:\/\/themeisle.com\/blog\/#\/schema\/person\/c413f0287a7b2ae513ef445395997e3c"},"headline":"How to Fix Largest Contentful Paint Image Was Lazily Loaded in WordPress","datePublished":"2023-04-27T13:00:00+00:00","dateModified":"2023-10-07T09:20:04+00:00","mainEntityOfPage":{"@id":"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/"},"wordCount":1144,"commentCount":0,"publisher":{"@id":"https:\/\/themeisle.com\/blog\/#organization"},"image":{"@id":"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/#primaryimage"},"thumbnailUrl":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/03\/Image-Was-Lazily-Loaded.png","articleSection":["WordPress Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/","url":"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/","name":"How to Fix Largest Contentful Paint Image Was Lazily Loaded","isPartOf":{"@id":"https:\/\/themeisle.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/#primaryimage"},"image":{"@id":"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/#primaryimage"},"thumbnailUrl":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/03\/Image-Was-Lazily-Loaded.png","datePublished":"2023-04-27T13:00:00+00:00","dateModified":"2023-10-07T09:20:04+00:00","description":"Learn how to fix the Largest Contentful Paint Image Was Lazily Loaded diagnostic from PageSpeed Insights. Two different WordPress methods.","breadcrumb":{"@id":"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/#primaryimage","url":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/03\/Image-Was-Lazily-Loaded.png","contentUrl":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2023\/03\/Image-Was-Lazily-Loaded.png","width":2180,"height":1090,"caption":"Largest Contentful Paint Image Was Lazily Loaded"},{"@type":"BreadcrumbList","@id":"https:\/\/themeisle.com\/blog\/largest-contentful-paint-image-was-lazily-loaded\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/themeisle.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Fix Largest Contentful Paint Image Was Lazily Loaded in WordPress"}]},{"@type":"WebSite","@id":"https:\/\/themeisle.com\/blog\/#website","url":"https:\/\/themeisle.com\/blog\/","name":"Themeisle Blog","description":"WordPress Tutorials and Reviews for Beginners and Advanced","publisher":{"@id":"https:\/\/themeisle.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/themeisle.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/themeisle.com\/blog\/#organization","name":"VertiStudio","alternateName":"Vertigo Studio SA","url":"https:\/\/themeisle.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/themeisle.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2024\/02\/VertiStudio_logo1.png","contentUrl":"https:\/\/mllj2j8xvfl0.i.optimole.com\/cb:c5QE.37290\/w:auto\/h:auto\/q:mauto\/f:best\/https:\/\/themeisle.com\/blog\/wp-content\/uploads\/2024\/02\/VertiStudio_logo1.png","width":718,"height":156,"caption":"VertiStudio"},"image":{"@id":"https:\/\/themeisle.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/themeisle.com\/blog\/#\/schema\/person\/c413f0287a7b2ae513ef445395997e3c","name":"Colin","description":"Colin Newcomer is a WordPress power user who has been writing about WordPress for over seven years and using the WordPress software since all the way back in 2006. He also has hands-on experience with SEO, content marketing, affiliate marketing, and other digital marketing areas.","sameAs":["https:\/\/www.cnewcomer.com","https:\/\/x.com\/ColinNewcomer"],"honorificPrefix":"Mr","url":"https:\/\/themeisle.com\/blog\/author\/colin-n\/"}]}},"_links":{"self":[{"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/posts\/66532","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/comments?post=66532"}],"version-history":[{"count":13,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/posts\/66532\/revisions"}],"predecessor-version":[{"id":113658,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/posts\/66532\/revisions\/113658"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/media\/64802"}],"wp:attachment":[{"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/media?parent=66532"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/categories?post=66532"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/tags?post=66532"},{"taxonomy":"hashtags","embeddable":true,"href":"https:\/\/themeisle.com\/blog\/wp-json\/wp\/v2\/hashtags?post=66532"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}