70 Posts
manubelin
10 years ago
Topic

Bonjour, j'ai créer un champ image personnalisé (media) je voudrai lui associé un champs texte "alt image" afin d'afficher le nom de l'image. j'ai essayé de reprendre la configuration des champs "alt image" existant dans seblod, mais ça ne marche pas ! Y a t il une astuce ? 

Merci

Get a Book for SEBLOD
4229 Posts
Kadministrator
10 years ago
1
Level 1

Hi,

alt fields in article conten type are saved to the joomla core database locations and then displayed by joomla itself. To disaply alt text in seblod you could do Html typography on the media field like this

<img alt="$cck->getValue('your_alt_field')" src="*value*">
70 Posts
manubelin
10 years ago
0
Level 2

Thank you,  it works

9 years ago
0
Level 1

Hi,

Sorry, my French is not that good, but I think I have the same question.

I have created an image field but I would like to add an ALT text in the submission form to each image. But I cannot figure out where to put the HTML code that you suggested, Klas.

Could you please help me with that?

Regards,

Eric

Update: stupid, I just didn't had a close look at the Advanced Mode :-(

Get a Book for SEBLOD