Plugin Support
qtwrk
(@qtwrk)
Hi,
`if ( $this->info( $local_file . ‘.webp’, $post_id ) ) {
$desc = __( ‘Click to Disable WebP’, ‘litespeed-cache’ ) ;
$cls_webp = ‘litespeed-txt-webp’ ;
}
elseif ( $this->info( $local_file . ‘.optm.webp’, $post_id ) ) {
$cls .= ‘-disabled’ ;
$desc = __( ‘Click to Enable WebP’, ‘litespeed-cache’ ) ;
$cls_webp = ‘litespeed-txt-disabled’ ;
}`
according to code , disable button won’t show if this image has no webp replacement
Could you please verify in file system , that image has webp file generated ?
Best regards,
Oh yes, you’re right… I don’t have them.
There is no WebP in the original size image, but there are WebP in all of the thumbnail, medium, and large size files.
uploads
–date folder
—-NCU-Zhong-Da-Lake-150×150.bk.jpg
—-NCU-Zhong-Da-Lake-150×150.jpg
—-NCU-Zhong-Da-Lake-150×150.jpg.webp
—-… other sizes same as above
—-NCU-Zhong-Da-Lake.bk.jpg
—-NCU-Zhong-Da-Lake.jpg
and how to fix it?
I already reset the optimized image, and reoptimize it, but still have no WebP.
oh ya, The Object Cache is disable, I didn’t use it.
update:
I already tried to download the original image,
then open it in paint, just save to overwrite it.
reupload it to linked post….
the result is,
sometimes (an ori image) works, generated WebP,
Sometimes (another ori image) don’t, just like before… no webP…
Plugin Support
qtwrk
(@qtwrk)
Hi,
Could you please provide me this image NCU-Zhong-Da-Lake.bk.jpg ?
Best regards,
Plugin Support
qtwrk
(@qtwrk)
Hi,
Initially I thought is because the original image can not generate the webp version , as in some rare case, webp could be larger than original , or some special color space in that jpg file, but seems this is not the case as I can get the webp on my test site.
Now could you please reset this particular image in Media page, and then enable advanced debug log to your IP , then send this image to optimization , after few minutes it will be pulled back , then please check debug log , and see if you got any error message for webp optimization.
Best regards,
Hi,
I didn’t see any error on the Image Optimization page…
“Optimize Automatically” set to ON, so after I sent optimization requests, the cron job auto pull the images…
please download the debug.log here:
https://drive.google.com/file/d/155PtHm_Ca6LY-PXwo5PFdxn6GMnhgRvm/view?usp=sharing
and also…
I already send the report, maybe it could help…
Report number: TLOVJYFB
Report date: 02/19/2020 16:39:16
Plugin Support
qtwrk
(@qtwrk)
Hi,
02/19/20 23:35:23.840 [YOUR_IP:51350 1 eWg] [Img_Optm] Pulled optimized img: /path/public_html/articles/wp-content/uploads/2020/02/NCU-Zhong-Da-Lake.jpg
02/19/20 23:35:23.841 [YOUR_IP:51350 1 eWg] [Img_Optm] Update _table_img_optm record [id] 642
02/19/20 23:35:24.193 [YOUR_IP:51350 1 eWg] [Img_Optm] Pulled optimized img: /path/public_html/articles/wp-content/uploads/2020/02/NCU-Zhong-Da-Lake-300x169.jpg
02/19/20 23:35:24.500 [YOUR_IP:51350 1 eWg] [Img_Optm] Pulled optimized img WebP: /path/public_html/articles/wp-content/uploads/2020/02/NCU-Zhong-Da-Lake-300x169.jpg.webp
02/19/20 23:35:24.501 [YOUR_IP:51350 1 eWg] [Img_Optm] Update _table_img_optm record [id] 643
Please delete the shared debug log.
this must be weird , other images are having webp log , but the main image doesn’t even show it.
Please submit a ticket here
we will investigate it further.
best regards,
-
This reply was modified 6 years, 4 months ago by
qtwrk.
Hi,
I already submit it to tech support.