Hi friends, fixed it on my side, it was related to the class with image ID on the backend of image generation. My setup is WEBP uploads from wp performance team, ACF Photo Gallery Field and meow lightbox
<a href="<?php echo $full_image_url; ?>">
<img class="wp-image-<?php echo $id; ?>" src="<?php echo $thumbnail_image_url;?>" alt="<?php echo $alt; ?>" title="<?php echo $title; ?>">
</a>