Add text in the alt portion for the img tag

Post Reply
vladiator
Posts: 3
Joined: 10 Apr 2009, 01:05

Add text in the alt portion for the img tag

Post by vladiator » 10 Apr 2009, 01:11

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.

Maksym
Site Admin
Posts: 2077
Joined: 02 Mar 2009, 17:02

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

Post by Maksym » 10 Apr 2009, 12:04

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.

Post Reply