21278 Posts in 5728 Topics by 2599 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1007 Views |
-
Modifying Alt Attribute in Images

16 January 2009 at 12:48pm Last edited: 16 January 2009 1:47pm
I noticed when I do "insert image", the alt attribute is missing from img tag:
<img class="left" src="assets/Uploads/SilverStripeLogo.png?r=59381" hspace="null" vspace="null" width="424" height="376" align="null" >It has other attributes that I don't need such as hspace, vspace, and class. Is there a workaround so that when I do an "insert image", it will automatically insert the alt tag?
From searching thru the forum and the documentation, it looks like the only method to update an image alt attribute is via the HTML in the Content Editor. Is this the case or am missing something?
-
Re: Modifying Alt Attribute in Images

17 January 2009 at 9:59pm
Ya, in 2.2.x it handled it pretty badly with the extra garbage code.
In 2.3 it's all cleaned up and working like expected.
| 1007 Views | ||
|
Page:
1
|
Go to Top |


