• Gio

    (@giothelawa)


    Hi,

    Glad to find you. Thanks for all this!

    I have been using your plugin for a few weeks and have one problem with LCP. Hope I explain it clearly and you will be able to support to solve it.

    Only posts contain LCP issues with images.

    <img src="https://www.website.com/wp-content/plugins/phastpress/phast.php?service=im…" data-src="https://www.website.com/wp-content/plugins/phastpress/phast.php?service=im…" data-large_image="https://www.website.com/wp-content/plugins/phastpress/phast.php?service=im…" srcset="https://www.website.com/wp-content/plugins/phastpress/phast.php?service=im…" width="600" height="600" class="wp-post-image" alt="salvador dali" loading="lazy" data-caption="" data-large_image_width="1200" data-large_image_height="1200" sizes="(max-width: 600px) 100vw, 600px" …>

    Why do you need data-src =, data-large_image =, and srcset =?
    There are also some image link pages not be founded.

    Can you fix that?

    Would be very grateful.
    Nothing more than that will probably make me happy now.

    Thank you million times!
    Gio.

    • This topic was modified 3 years, 7 months ago by Gio.
    • This topic was modified 3 years, 7 months ago by Gio.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Albert Peschar

    (@kiboit)

    Hi @giothelawa,

    > Why do you need data-src =, data-large_image =, and srcset =?

    PhastPress doesn’t add these, only changes the URLs so the images can be optimized. Perhaps you’re using some lazy loading plugin that adds the data-src. Or it’s a theme setting. In any case, it should be disabled, you don’t need it.

    > There are also some image link pages not be founded.

    You mean that the image URL doesn’t work? If some images work and others do not, I would suspect that the images that don’t work actually don’t exist. Can you confirm that you don’t have this problem with PhastPress disabled?

    In any case, I can’t see if there’s a problem/what the problem is based on the data you’ve given me. Could you share the URL to your site so that I can have a look? Or if you’d rather not post it publicly, you can use the contact details at the bottom of the URL.

    –Albert

    Thread Starter Gio

    (@giothelawa)

    Hi @kiboit,

    I have no problem with sharing data, I will send my site address, but so far I can not disable the plugin, to test. It just does not deactivate, I tried several times and it refreshes, but to no avail, the plugin is still active :D.

    I’m not using any image optimization plugin, also the theme hasn’t a lazy loading feature.

    I’m using Redis only for the object cache.

    Thanks.
    Gio

    Thread Starter Gio

    (@giothelawa)

    Deactivated, it was hooked.

    But the issue occurs by Phaspress I believe, cuz the image links contain the phastpress.

    Plugin Author Albert Peschar

    (@kiboit)

    Hey @giothelawa,

    Check out your site, but I don’t see any issues really. PageSpeed Insights score is better with PhastPress enabled, and I don’t see any errors with not found images.

    You can add this to the URLs to test with PhastPress even if the plugin is partially disabled:

    ?phast=phast%2Cscripts-defer%2Cscripts-proxy%2Ccss-optimization%2Cminify-html%2Cminify-inline-scripts%2Cimg-optimization-tags%2Cimg-optimization-css%2Cimg-lazy

    Anyway, if you’re still experiencing a specific issue, please send me some screenshots of the exact problem.

    –Albert

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘LCP: Issue – Largest Contentful Paint element’ is closed to new replies.