Viewing how to create Alt text

how to create Alt text



User: Christian T. 10 years ago
hi,
how to create/ add " Alt text" to images that are in a slide show widget?

thanks
Christian
User: Christian T. 10 years ago
and title text also
User: Jumbo T. 10 years ago
The Alt attribute is disabled in the widget (EW 1.9).

To make it active, do this :

Find the Everweb application and select it.
Right-click and choose "Show Package Content"
Navigate to the widget folder.
Find the Image Slider.ewwdgt file and select it.
Right-click and choose "Show Package Content"
Open file info.xml in a plaintext editor.
Find this line :

//sResult = sResult + " alt="""+sImageCaption+""""

Replace it with :

sResult = sResult + " alt="""+sImageCaption+""""
sResult = sResult + " title="""+sImageCaption+""""


Save file.

Open Everweb.

Add the Sliderwidget.

The text of the caption field will be used as title and alt.
User: Christian T. 10 years ago
thank you
User: Christian T. 10 years ago
Ok now, do i have to do the slide shows that i did befor activating again or does it automatically show as alt text once i did the activation ?
Christian
User: Christian T. 10 years ago
Ok now, do i have to do the slide shows that i did befor activating again or does it automatically show as alt text once i did the activation ?
Christian
User: Jumbo T. 10 years ago
You have to re-publish the page(s).
User: Christian T. 10 years ago
thank you
User: Christian T. 10 years ago
I went to the file you told me made the changes ( see screen-shot )
saved
opened everweb
did chose my website
clicked on sincere
went to widgets
choose image slider
did re-publish in folder and on to everweb……no changes the alt text and title text still missing

Capture d'écran 2015-12-15 09.31.46.png


Post Reply
You must login or signup to post.