We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have recently noticed one issue while using the <img/> tag in the JS variable. For example:
<img/>
<script> var imgElement = '<img src="..." />'; </script>
As Yireo_Webp2 extension converts <img/> element to <picture>...</picture> set, it throws the JS error as the output looks like
Yireo_Webp2
<picture>...</picture>
var imgElement = '<picture> <source type="image/webp" srcset="..."> <source type="image/png" srcset="..."> <img src="..." /> </picture>'
Is there a way to stop the <img/> element from the conversion
The text was updated successfully, but these errors were encountered:
It's ugly, but here's a suggestion:
var imgElement = '<__TAGNAME__ src="..." />'.replace('__TAGNAME__', 'img')
Sorry, something went wrong.
Could you see if this issue persists after upgrading Yireo NextGenImages to version 0.3.14?
No branches or pull requests
I have recently noticed one issue while using the
<img/>
tag in the JS variable. For example:As
Yireo_Webp2
extension converts<img/>
element to<picture>...</picture>
set, it throws the JS error as the output looks likeIs there a way to stop the
<img/>
element from the conversionThe text was updated successfully, but these errors were encountered: