I need to be able to add either the image short description or long description into the alt portion of the img tag.
Currently there is no way to add that using the template editor. I would need the result of the html code for the image pages to have something like this:
<img src="images/myimage001.jpg" alt="This is my best image of Paris" />
Is there a way in the current version to achieve this? Or is it planned for a future version?
Thanx much for your help.
Add text in the alt portion for the img tag
-
- Site Admin
- Posts: 2084
- Joined: 02 Mar 2009, 17:02
Re: Add text in the alt portion for the img tag
There is a way to do it in the built-in template editor. Take a look at the image below.
On the example above the long description of the image will be used for the ALT attribute. But you can use any text in this field or add any other Special tag using the [...] button near the edit field.
On the example above the long description of the image will be used for the ALT attribute. But you can use any text in this field or add any other Special tag using the [...] button near the edit field.