Page 1 of 1

Add text in the alt portion for the img tag

Posted: 10 Apr 2009, 01:11
by vladiator
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.

Re: Add text in the alt portion for the img tag

Posted: 10 Apr 2009, 12:04
by Maksym
There is a way to do it in the built-in template editor. Take a look at the image below.

Image

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.