Forums / Setup & design / Problems with eZpublish DHTML toolbar

Problems with eZpublish DHTML toolbar

Author Message

paul stephen mccarthy

Wednesday 11 May 2005 7:53:31 am

Hi

I have an installation of eZpublish which I allow users access to the ezdhtml toolbar.

I can insert images with the toolbar which inserts an image into the editing area. When I switch the code editor off I can see:

<Object id="1212" size="small" align="left">

When this page is published the HTML that is outputted reads:

<img src="(The true path of the file)" width="100" height="100" border="0" alt="" title="">

How can I populate the alt tag using the image's name????

Paul very stuck

Is there any info on the toolbar out there???

Ɓukasz Serwatka

Wednesday 18 May 2005 1:39:39 am

Try add

 alt="{$object.data_map.image.content.alternative_text|wash(xhtml)}"

to your embed image tpl file.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog