Lazy Loading Issue in ShortPixel Adaptive Images Plugin
-
I hope this message finds you well. I’m writing to bring to your attention an issue I’ve encountered with the ShortPixel Adaptive Images plugin regarding lazy loading functionality.
After thorough testing and analysis, I’ve identified the following problem:
Issue Description: When the ShortPixel AI Settings > Behavior > Replace method is set to BOTH, lazy loading does not work as expected. However, if the Replace method is set to SRC, lazy loading functions properly. Unfortunately, when the Replace method is set to SRC, the srcset attribute for images does not get printed.
Expected Behavior: Ideally, lazy loading should work regardless of the Replace method setting, and the srcset attribute for images should be printed correctly when lazy loading is enabled.
Steps to Reproduce:
- Set the Replace method in ShortPixel AI Settings > Behavior to BOTH.
- Enable lazy loading for images on the website.
- Observe that lazy loading does not function correctly.
- Set the Replace method to SRC and observe that lazy loading works, but the srcset attribute is missing.
Additional Information:
- WordPress Version: [Your WordPress Version]
- Plugin Version: [ShortPixel Adaptive Images Version]
- Theme: [Your Theme Name and Version]
- Any Relevant Browser or Environment Information
Request: I kindly request your assistance in investigating and resolving this issue. It would greatly benefit users of the ShortPixel Adaptive Images plugin to have lazy loading functionality working seamlessly with all Replace method settings and ensuring that the srcset attribute is correctly printed.
Thank you for your attention to this matter. I look forward to hearing back from you and any updates on resolving this issue.
- The topic ‘Lazy Loading Issue in ShortPixel Adaptive Images Plugin’ is closed to new replies.