Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Use the Title Field from Image Editor Properties in a Transformation for the Image Alt Attribute View modes: 
User avatar
Member
Member
tfoulk - 1/16/2014 4:23:20 PM
   
Use the Title Field from Image Editor Properties in a Transformation for the Image Alt Attribute
Is there a way I can use the Title field on the Properties tab from the Image Editor in a transformation? I am not seeing any documentation on grabbing that field.

User image

Or should I create a separate field for the image alt attribute?

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 1/16/2014 9:58:09 PM
   
RE:Use the Title Field from Image Editor Properties in a Transformation for the Image Alt Attribute
As far as I know there is not a way to do this. What I setup in my doc types or transformations is to use the image as a URL vs a direct upload or upload file. This way the user goes to select an images URL and I can then dynamically create the < img > tag. It would look something like this
<img src="<%# Eval("ImageUrl) %>" title="<%# Eval("FileName") %>" alt="<%# Eval("FileName")" />
This forum post talks about media library alt tags, maybe it will help.

Best of luck
Brenden