same issue here. I ran a test with ewww image optimizer and it yielded the needed result. I don’t want to use multiple plugins, so I removed it. See report information below. Thanks.
I also added the line to my functions file…which I don’t think was necessary since the image causing the issue is my logo and it’s not on an external server.
Report number: HLAYIHKS
Report date: 05/12/2024 19:11:03
Plugin Support
qtwrk
(@qtwrk)
oscope-1.jpg"alt="Photo
these images has alt and " together , where it should have an empty space in between , I feel this might interfered the parsing
try put this at your functions.php
function lscwp_before_output($content) {
return preg_replace('/\.jpg"alt/', '.jpg" alt', $content);
}
add_filter('litespeed_buffer_before', 'lscwp_before_output', 0);
and purge all , then check again.
I added the function to my site and no luck. I reckon your response was to OP since my images don’t have alt and ” together…it’s moreso like <img class=”tdb-logo-img” src=”https://www.domain.com/wp-content/uploads/2024/02/logo…” alt=”logo”>
Plugin Support
qtwrk
(@qtwrk)
yes, it was meant for OP
per wp forum guideline , please create your own topic
Thread Starter
Ian
(@ipgill)
I confirm this fixed the issue for some images. For others, I the issue went away after selecting different thumbnails. The issue come back after selecting the same thumbnails again. So I ended up uploading desired images again to the media library and the issue is now resolved.
I’m unsure what causes this particular images to create this issue.
Thread Starter
Ian
(@ipgill)
Unfortunately the issue has come back. I believe it may have happened after plugin update.
The remedies mentioned above do not resolve it. Could you please help?
Thank you so much.
Plugin Support
qtwrk
(@qtwrk)
please create a ticket by mail to support at litespeedtech.com with reference link to this topic.