just add a new property on the image media type, of type textstring, and use that property if wish to spit it out on the frontend using the GetMedia() function (just as you would output the filename). For a GetMedia reference, see this wiki article (targets 4.5 release)
Alternatively use the node name of the image as the alt tag value, for images displayed with an XSLT macro, and where $imageid is the node ID of the image picked on a page with current Media property:
Add Alt tag editor to images in Umbraco
Hi All,
I want to add alt tage to image in umbraco. Can any one help me.
Thanks
Hussain
just add a new property on the image media type, of type textstring, and use that property if wish to spit it out on the frontend using the GetMedia() function (just as you would output the filename). For a GetMedia reference, see this wiki article (targets 4.5 release)
Hope this helps.
Regards,
/Dirk
Alternatively use the node name of the image as the alt tag value, for images displayed with an XSLT macro, and where $imageid is the node ID of the image picked on a page with current Media property:
is working on a reply...