TranslatePress Image Translation is not compatible with WP Rocket Lazyload #7233
Labels
3rd party compatibility
Issues related to 3rd party compatibility like theme, plugin or hosting
priority: low
Issues that can wait
Describe the bug
TranslatePress has a feature to translate images, which allows one to choose a different image in each language.
https://translatepress.com/translate-images-in-wordpress/
When our Lazyload for images is optimizing the images, the TranslatePress image replacement is not working.
Full image here: https://i.imgur.com/GzSfMxd.png
To Reproduce
Steps to reproduce the behavior:
Expected behavior
We should find a way to be compatible with this feature or exclude those images from being Lazyloaded
Screenshots
![Image](https://private-user-images.githubusercontent.com/229406/404033167-4065b74c-2526-4bd6-bc7f-5e628fd5288d.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMDE4MDIsIm5iZiI6MTczOTIwMTUwMiwicGF0aCI6Ii8yMjk0MDYvNDA0MDMzMTY3LTQwNjViNzRjLTI1MjYtNGJkNi1iYzdmLTVlNjI4ZmQ1Mjg4ZC5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMFQxNTMxNDJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iZmRlZGUyMGI2ZmQ1ODQzZDllYmIzOTg0YTJjNWQwOGVlZjUwMmFhYzllY2U3MDg5ZGRhZmQyZGU1NzQ2ZmIwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.jE3Pm8qhS20a4kbgwkoXZ_QG9bX-iBRFtEv88BVr4TE)
Full image here: https://imgur.com/Uo5ftgB
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Ticket 1: https://secure.helpscout.net/conversation/2821551478/535578?viewId=2683093
Ticket 2, old: https://secure.helpscout.net/conversation/2686418438/508717
The text was updated successfully, but these errors were encountered: