Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[solved] article_image not hiding height and width attributes?
This article_image tag in a form:
<txp:article_image class=“article-image” height=“0” width=“0” />
…generates this image tag with the height and width attributes still visible:
<img src=“https://pxd.gd/images/20.png” alt=”“ class=“article-image” width=“2346” height=“1322”>
The same article_image tag in the body of an article produces this image tag:
<img src=“https://pxd.gd/images/20.png” alt=”“ class=”“article-image”” width=“0” height=“0”>
Last edited by agovella (2023-07-26 14:29:31)
Offline
Re: [solved] article_image not hiding height and width attributes?
This is a known issue. Forum discussion and easy workaround here on the forum:
https://forum.textpattern.com/viewtopic.php?id=51833
Fix planned for the next release.
Offline